#7A186E

Closest named color: Purple (#800080). oklch(41.1% 0.162 333.8), rgb(122, 24, 110).

Aa

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

About this color

#7A186E is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.162 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.037 away. White text reads best on it, at 9.61:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.162)
Temperaturein between
Nearest namePurple (#800080)
Black text2.18:1
White text9.61:1

Values

HEX#7A186E
RGBrgb(122, 24, 110)
HSLhsl(307, 67%, 29%)
OKLCHoklch(41.1% 0.162 333.8)

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 #7A186E 9.61:1 AAA Lc -95.4 Preferred for body text
Black text on #7A186E 2.18:1 Fails Lc 12.9 Not readable
#7A186E text on white 9.61:1 AAA Lc 91.0 Preferred for body text
#7A186E text on black 2.18:1 Fails Lc -11.3 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

    #D87AC7

    oklch(70.8% 0.15 334.1)

  6. Step 500

    500

    #CB52B9

    oklch(63.1% 0.194 333.8)

  7. Step 600

    600

    #B630A5

    oklch(55.6% 0.21 333.8)

  8. Step 700

    700

    #9C208D

    oklch(49% 0.195 333.8)

  9. Step 800

    800 (this color)

    #7A186E

    oklch(41.1% 0.162 333.8)

  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

#7A186E 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)#153C700.178
Deuteranopia (no green cones)#3B4A6C0.150
Tritanopia (no blue cones)#8022420.083
Achromatopsia (no color)#4545450.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A186E

    #7A186E

    oklch(41.1% 0.162 333.8)

  • #005A2F

    #005A2F

    oklch(41% 0.103 154)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A186E

    #7A186E

    oklch(41.1% 0.162 333.8)

  • #5F2990

    #5F2990

    oklch(41.2% 0.162 304)

  • #8A0641

    #8A0641

    oklch(41.1% 0.161 3.6)

Open the analogous palette in the generator

Split complementary

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

  • #7A186E

    #7A186E

    oklch(41.1% 0.162 333.8)

  • #405300

    #405300

    oklch(41.1% 0.101 123.5)

  • #00574F

    #00574F

    oklch(41% 0.073 184.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A186E

    #7A186E

    oklch(41.1% 0.162 333.8)

  • #5A4900

    #5A4900

    oklch(41.1% 0.084 93.6)

  • #005462

    #005462

    oklch(41% 0.072 213.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A186E

    #7A186E

    oklch(41.1% 0.162 333.8)

  • #6D3E00

    #6D3E00

    oklch(41.2% 0.093 64.2)

  • #005A2F

    #005A2F

    oklch(41% 0.103 154)

  • #004F7D

    #004F7D

    oklch(41.2% 0.101 243.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7A186E 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.