#9E6FEC

Closest named color: Medium Purple (#9370DB). oklch(64.6% 0.182 298.5), rgb(158, 111, 236).

Aa

Black text reads best on this color (5.93:1).

About this color

#9E6FEC is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.182 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.031 away. Black text reads best on it, at 5.93:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.182)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.93:1
White text3.53:1

Values

HEX#9E6FEC
RGBrgb(158, 111, 236)
HSLhsl(263, 77%, 68%)
OKLCHoklch(64.6% 0.182 298.5)

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 #9E6FEC 3.53:1 AA large text Lc -68.1 Content text, not long reading
Black text on #9E6FEC 5.93:1 AA Lc 41.4 Non-text elements, placeholder text
#9E6FEC text on white 3.53:1 AA large text Lc 62.6 Content text, not long reading
#9E6FEC text on black 5.93:1 AA Lc -39.0 Non-text elements, placeholder text

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

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DDD3F6

    oklch(88.6% 0.049 298.5)

  4. Step 300

    300

    #C8B4F3

    oklch(80.8% 0.09 298.9)

  5. Step 400

    400

    #AD8BED

    oklch(70.7% 0.143 298.7)

  6. Step 500

    500 (this color)

    #9E6FEC

    oklch(64.6% 0.182 298.5)

  7. Step 600

    600

    #854ED5

    oklch(55.6% 0.198 298.5)

  8. Step 700

    700

    #713EB9

    oklch(49.2% 0.184 298.4)

  9. Step 800

    800

    #5C3495

    oklch(42.7% 0.152 298.7)

  10. Step 900

    900

    #4B2F77

    oklch(37.7% 0.119 298.5)

  11. Step 950

    950

    #2C1C46

    oklch(27% 0.076 298.8)

Export this scale for Tailwind in the Tailwind colors tool

#9E6FEC 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)#3E88F00.125
Deuteranopia (no green cones)#4B87E90.117
Tritanopia (no blue cones)#8D88A30.142
Achromatopsia (no color)#8888880.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E6FEC

    #9E6FEC

    oklch(64.6% 0.182 298.5)

  • #869900

    #869900

    oklch(64.5% 0.15 118.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E6FEC

    #9E6FEC

    oklch(64.6% 0.182 298.5)

  • #6084FC

    #6084FC

    oklch(64.7% 0.183 268.4)

  • #C75EC4

    #C75EC4

    oklch(64.6% 0.182 328.5)

Open the analogous palette in the generator

Split complementary

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

  • #9E6FEC

    #9E6FEC

    oklch(64.6% 0.182 298.5)

  • #AF8800

    #AF8800

    oklch(64.6% 0.132 88.2)

  • #09AA48

    #09AA48

    oklch(64.5% 0.182 148.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E6FEC

    #9E6FEC

    oklch(64.6% 0.182 298.5)

  • #D17200

    #D17200

    oklch(64.7% 0.154 58.5)

  • #00A58F

    #00A58F

    oklch(64.6% 0.118 178.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E6FEC

    #9E6FEC

    oklch(64.6% 0.182 298.5)

  • #E85749

    #E85749

    oklch(64.7% 0.182 28.6)

  • #869900

    #869900

    oklch(64.5% 0.15 118.2)

  • #00A0B2

    #00A0B2

    oklch(64.6% 0.111 208.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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