#7B186F

Closest named color: Purple (#800080). oklch(41.3% 0.163 333.7), rgb(123, 24, 111).

Aa

White text reads best on this color (9.53:1).

About this color

#7B186F is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.163 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.035 away. White text reads best on it, at 9.53:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.163)
Temperaturein between
Nearest namePurple (#800080)
Black text2.20:1
White text9.53:1

Values

HEX#7B186F
RGBrgb(123, 24, 111)
HSLhsl(307, 67%, 29%)
OKLCHoklch(41.3% 0.163 333.7)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #7B186F 9.53:1 AAA Lc -95.2 Preferred for body text
Black text on #7B186F 2.20:1 Fails Lc 13.2 Not readable
#7B186F text on white 9.53:1 AAA Lc 90.8 Preferred for body text
#7B186F text on black 2.20:1 Fails Lc -11.5 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F2

    oklch(93.5% 0.029 332.8)

  3. Step 200

    200

    #F0CDE8

    oklch(88.6% 0.053 334)

  4. Step 300

    300

    #E7AADA

    oklch(81% 0.095 334.2)

  5. Step 400

    400

    #D879C8

    oklch(70.6% 0.153 333.6)

  6. Step 500

    500

    #CB52B9

    oklch(63.1% 0.194 333.8)

  7. Step 600

    600

    #B62EA5

    oklch(55.5% 0.212 333.7)

  8. Step 700

    700

    #9D1F8E

    oklch(49.2% 0.197 333.7)

  9. Step 800

    800 (this color)

    #7B186F

    oklch(41.3% 0.163 333.7)

  10. Step 900

    900

    #67205D

    oklch(37.8% 0.127 333.8)

  11. Step 950

    950

    #3C1436

    oklch(26.9% 0.08 333.8)

Export this scale for Tailwind in the Tailwind colors tool

#7B186F with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#143C710.180
Deuteranopia (no green cones)#3B4A6D0.151
Tritanopia (no blue cones)#8123430.083
Achromatopsia (no color)#4545450.165

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #7B186F

    #7B186F

    oklch(41.3% 0.163 333.7)

  • #005B2F

    #005B2F

    oklch(41.3% 0.105 153.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B186F

    #7B186F

    oklch(41.3% 0.163 333.7)

  • #5F2991

    #5F2991

    oklch(41.3% 0.163 303.7)

  • #8B0541

    #8B0541

    oklch(41.2% 0.163 3.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #7B186F

    #7B186F

    oklch(41.3% 0.163 333.7)

  • #405400

    #405400

    oklch(41.4% 0.103 124)

  • #005850

    #005850

    oklch(41.4% 0.073 184.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B186F

    #7B186F

    oklch(41.3% 0.163 333.7)

  • #5B4A00

    #5B4A00

    oklch(41.5% 0.085 93.8)

  • #005563

    #005563

    oklch(41.3% 0.073 213.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B186F

    #7B186F

    oklch(41.3% 0.163 333.7)

  • #6E3E00

    #6E3E00

    oklch(41.4% 0.094 63.5)

  • #005B2F

    #005B2F

    oklch(41.3% 0.105 153.7)

  • #00507E

    #00507E

    oklch(41.5% 0.101 243.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7B186F, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #7B186F in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.