#9F42DA

Closest named color: Dark Orchid (#9932CC). oklch(57.4% 0.224 309), rgb(159, 66, 218).

Aa

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

About this color

#9F42DA is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.224 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.035 away. White text reads best on it, at 4.92:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.224)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text4.26:1
White text4.92:1

Values

HEX#9F42DA
RGBrgb(159, 66, 218)
HSLhsl(277, 67%, 56%)
OKLCHoklch(57.4% 0.224 309)

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 #9F42DA 4.92:1 AA Lc -78.7 Fine for body text
Black text on #9F42DA 4.26:1 AA large text Lc 30.8 Non-text elements, placeholder text
#9F42DA text on white 4.92:1 AA Lc 73.2 Content text, not long reading
#9F42DA text on black 4.26:1 AA large text Lc -28.4 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E4D0F6

    oklch(88.6% 0.056 308.9)

  4. Step 300

    300

    #D4AFF2

    oklch(80.9% 0.1 309.4)

  5. Step 400

    400

    #BE81EC

    oklch(70.7% 0.162 309.1)

  6. Step 500

    500

    #AE5CE6

    oklch(63.1% 0.207 309.1)

  7. Step 600

    600 (this color)

    #9F42DA

    oklch(57.4% 0.224 309)

  8. Step 700

    700

    #832BB7

    oklch(49% 0.209 309.1)

  9. Step 800

    800

    #6A2794

    oklch(42.7% 0.172 308.9)

  10. Step 900

    900

    #562676

    oklch(37.6% 0.134 308.9)

  11. Step 950

    950

    #321845

    oklch(27% 0.084 308.5)

Export this scale for Tailwind in the Tailwind colors tool

#9F42DA 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)#006DDE0.188
Deuteranopia (no green cones)#2072D70.182
Tritanopia (no blue cones)#96648A0.155
Achromatopsia (no color)#7070700.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F42DA

    #9F42DA

    oklch(57.4% 0.224 309)

  • #5C8900

    #5C8900

    oklch(57.5% 0.153 129)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F42DA

    #9F42DA

    oklch(57.4% 0.224 309)

  • #645CF8

    #645CF8

    oklch(57.5% 0.225 278.9)

  • #C628A3

    #C628A3

    oklch(57.5% 0.225 339.1)

Open the analogous palette in the generator

Split complementary

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

  • #9F42DA

    #9F42DA

    oklch(57.4% 0.224 309)

  • #8B7900

    #8B7900

    oklch(57.5% 0.119 98.8)

  • #008F5B

    #008F5B

    oklch(57.3% 0.132 159.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F42DA

    #9F42DA

    oklch(57.4% 0.224 309)

  • #A86900

    #A86900

    oklch(57.6% 0.126 69.1)

  • #008B85

    #008B85

    oklch(57.4% 0.099 189.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F42DA

    #9F42DA

    oklch(57.4% 0.224 309)

  • #CD4300

    #CD4300

    oklch(57.4% 0.184 38.9)

  • #5C8900

    #5C8900

    oklch(57.5% 0.153 129)

  • #0086A2

    #0086A2

    oklch(57.3% 0.104 219.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9F42DA.

Similar named colors

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

Use #9F42DA 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.