#CF9EFA

Closest named color: Lilac (#CEA2FD). oklch(77.8% 0.137 307.9), rgb(207, 158, 250).

Aa

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

About this color

#CF9EFA is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.137 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.010 away. Black text reads best on it, at 9.92:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text9.92:1
White text2.11:1

Values

HEX#CF9EFA
RGBrgb(207, 158, 250)
HSLhsl(272, 90%, 80%)
OKLCHoklch(77.8% 0.137 307.9)

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 #CF9EFA 2.11:1 Fails Lc -46.0 Large or bold text, headings
Black text on #CF9EFA 9.92:1 AAA Lc 62.6 Content text, not long reading
#CF9EFA text on white 2.11:1 Fails Lc 41.4 Non-text elements, placeholder text
#CF9EFA text on black 9.92:1 AAA Lc -60.9 Content text, not long reading

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

  1. Step 50

    50

    #F9F3FF

    oklch(97.2% 0.017 308.3)

  2. Step 100

    100

    #F1E3FF

    oklch(93.5% 0.04 308)

  3. Step 200

    200

    #E6CDFF

    oklch(88.5% 0.073 307.6)

  4. Step 300

    300 (this color)

    #CF9EFA

    oklch(77.8% 0.137 307.9)

  5. Step 400

    400

    #C377FF

    oklch(70.7% 0.201 307.9)

  6. Step 500

    500

    #B545FF

    oklch(63% 0.262 307.9)

  7. Step 600

    600

    #A200EE

    oklch(55.6% 0.284 308.2)

  8. Step 700

    700

    #8800CA

    oklch(49.1% 0.251 307.8)

  9. Step 800

    800

    #7000A7

    oklch(42.6% 0.218 308)

  10. Step 900

    900

    #5C0C89

    oklch(37.6% 0.182 307.8)

  11. Step 950

    950

    #360D50

    oklch(26.9% 0.115 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#CF9EFA 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)#8BB0FE0.098
Deuteranopia (no green cones)#96B3F70.091
Tritanopia (no blue cones)#C9ACC00.102
Achromatopsia (no color)#B2B2B20.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF9EFA

    #CF9EFA

    oklch(77.8% 0.137 307.9)

  • #9DC763

    #9DC763

    oklch(77.7% 0.137 128)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF9EFA

    #CF9EFA

    oklch(77.8% 0.137 307.9)

  • #A6AFFF

    #A6AFFF

    oklch(77.8% 0.114 278.5)

  • #EF93D5

    #EF93D5

    oklch(77.8% 0.137 338.1)

Open the analogous palette in the generator

Split complementary

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

  • #CF9EFA

    #CF9EFA

    oklch(77.8% 0.137 307.9)

  • #CEB741

    #CEB741

    oklch(77.8% 0.137 98)

  • #5ED195

    #5ED195

    oklch(77.8% 0.137 158.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF9EFA

    #CF9EFA

    oklch(77.8% 0.137 307.9)

  • #F0A54B

    #F0A54B

    oklch(77.9% 0.137 68.1)

  • #00D2C7

    #00D2C7

    oklch(77.8% 0.135 188.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF9EFA

    #CF9EFA

    oklch(77.8% 0.137 307.9)

  • #FF9777

    #FF9777

    oklch(77.8% 0.133 37.9)

  • #9DC763

    #9DC763

    oklch(77.7% 0.137 128)

  • #18CBF1

    #18CBF1

    oklch(77.8% 0.137 218.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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