#9740D2

Closest named color: Dark Orchid (#9932CC). oklch(55.7% 0.217 308.1), rgb(151, 64, 210).

Aa

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

About this color

#9740D2 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.217 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.023 away. White text reads best on it, at 5.27:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.217)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text3.97:1
White text5.27:1

Values

HEX#9740D2
RGBrgb(151, 64, 210)
HSLhsl(276, 62%, 54%)
OKLCHoklch(55.7% 0.217 308.1)

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 #9740D2 5.27:1 AA Lc -80.8 Fine for body text
Black text on #9740D2 3.97:1 AA large text Lc 28.7 Dividers and decoration only
#9740D2 text on white 5.27:1 AA Lc 75.4 Fine for body text
#9740D2 text on black 3.97:1 AA large text Lc -26.3 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E3D0F5

    oklch(88.5% 0.054 308.4)

  4. Step 300

    300

    #D2B0F1

    oklch(80.9% 0.097 308.1)

  5. Step 400

    400

    #BC83EA

    oklch(70.7% 0.156 308.4)

  6. Step 500

    500

    #AB5FE4

    oklch(63.1% 0.2 308.1)

  7. Step 600

    600 (this color)

    #9740D2

    oklch(55.7% 0.217 308.1)

  8. Step 700

    700

    #8130B6

    oklch(49.2% 0.202 308.2)

  9. Step 800

    800

    #682A93

    oklch(42.7% 0.166 307.8)

  10. Step 900

    900

    #552875

    oklch(37.7% 0.13 308.3)

  11. Step 950

    950

    #321945

    oklch(27.2% 0.082 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#9740D2 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)#0068D60.179
Deuteranopia (no green cones)#1B6DCF0.175
Tritanopia (no blue cones)#8E61850.151
Achromatopsia (no color)#6C6C6C0.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #9740D2

    #9740D2

    oklch(55.7% 0.217 308.1)

  • #5A8200

    #5A8200

    oklch(55.6% 0.145 128)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9740D2

    #9740D2

    oklch(55.7% 0.217 308.1)

  • #5E59EE

    #5E59EE

    oklch(55.8% 0.217 278.2)

  • #BC289E

    #BC289E

    oklch(55.6% 0.216 338)

Open the analogous palette in the generator

Split complementary

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

  • #9740D2

    #9740D2

    oklch(55.7% 0.217 308.1)

  • #867300

    #867300

    oklch(55.7% 0.115 97.6)

  • #008A55

    #008A55

    oklch(55.8% 0.131 157.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9740D2

    #9740D2

    oklch(55.7% 0.217 308.1)

  • #A16300

    #A16300

    oklch(55.5% 0.122 67.9)

  • #00857E

    #00857E

    oklch(55.6% 0.097 188.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9740D2

    #9740D2

    oklch(55.7% 0.217 308.1)

  • #C63E00

    #C63E00

    oklch(55.6% 0.181 38.2)

  • #5A8200

    #5A8200

    oklch(55.6% 0.145 128)

  • #00819A

    #00819A

    oklch(55.7% 0.1 217.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9740D2.

Similar named colors

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

Use #9740D2 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.