#9838C3

Closest named color: Dark Orchid (#9932CC). oklch(53.9% 0.212 313.2), rgb(152, 56, 195).

Aa

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

About this color

#9838C3 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.212 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.017 away. White text reads best on it, at 5.69:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.212)
Temperaturein between
Nearest nameDark Orchid (#9932CC)
Black text3.68:1
White text5.69:1

Values

HEX#9838C3
RGBrgb(152, 56, 195)
HSLhsl(281, 55%, 49%)
OKLCHoklch(53.9% 0.212 313.2)

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 #9838C3 5.69:1 AA Lc -82.9 Fine for body text
Black text on #9838C3 3.68:1 AA large text Lc 26.5 Dividers and decoration only
#9838C3 text on white 5.69:1 AA Lc 77.6 Fine for body text
#9838C3 text on black 3.68:1 AA large text Lc -24.2 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

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E6CFF3

    oklch(88.5% 0.055 313.4)

  4. Step 300

    300

    #D6AFED

    oklch(80.9% 0.095 312.7)

  5. Step 400

    400

    #C282E3

    oklch(70.8% 0.152 313.4)

  6. Step 500

    500

    #B25DDB

    oklch(63.1% 0.195 313.3)

  7. Step 600

    600 (this color)

    #9838C3

    oklch(53.9% 0.212 313.2)

  8. Step 700

    700

    #862EAD

    oklch(49% 0.197 313.1)

  9. Step 800

    800

    #6D288C

    oklch(42.6% 0.163 313.3)

  10. Step 900

    900

    #592770

    oklch(37.8% 0.127 313.6)

  11. Step 950

    950

    #341842

    oklch(27% 0.081 313)

Export this scale for Tailwind in the Tailwind colors tool

#9838C3 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)#0062C70.190
Deuteranopia (no green cones)#2C69C00.177
Tritanopia (no blue cones)#93567A0.141
Achromatopsia (no color)#6767670.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #9838C3

    #9838C3

    oklch(53.9% 0.212 313.2)

  • #488000

    #488000

    oklch(54% 0.153 133.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9838C3

    #9838C3

    oklch(53.9% 0.212 313.2)

  • #6550E2

    #6550E2

    oklch(53.9% 0.211 283.3)

  • #BA1F8E

    #BA1F8E

    oklch(54% 0.213 343.1)

Open the analogous palette in the generator

Split complementary

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

  • #9838C3

    #9838C3

    oklch(53.9% 0.212 313.2)

  • #7B7000

    #7B7000

    oklch(53.8% 0.113 102.7)

  • #00835B

    #00835B

    oklch(54% 0.116 163.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9838C3

    #9838C3

    oklch(53.9% 0.212 313.2)

  • #966200

    #966200

    oklch(53.9% 0.115 73.1)

  • #007F7D

    #007F7D

    oklch(53.9% 0.092 192.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9838C3

    #9838C3

    oklch(53.9% 0.212 313.2)

  • #B64600

    #B64600

    oklch(53.9% 0.159 43.3)

  • #488000

    #488000

    oklch(54% 0.153 133.2)

  • #007A99

    #007A99

    oklch(53.8% 0.101 223.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9838C3.

Similar named colors

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

Use #9838C3 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.