#CF9DEB

Closest named color: Baby Purple (#CA9BF7). oklch(77% 0.121 312.9), rgb(207, 157, 235).

Aa

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

About this color

#CF9DEB is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.121 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.021 away. Black text reads best on it, at 9.67:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.67:1
White text2.17:1

Values

HEX#CF9DEB
RGBrgb(207, 157, 235)
HSLhsl(278, 66%, 77%)
OKLCHoklch(77% 0.121 312.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 #CF9DEB 2.17:1 Fails Lc -47.3 Large or bold text, headings
Black text on #CF9DEB 9.67:1 AAA Lc 61.4 Content text, not long reading
#CF9DEB text on white 2.17:1 Fails Lc 42.6 Non-text elements, placeholder text
#CF9DEB text on black 9.67:1 AAA Lc -59.6 Large or bold text, headings

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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4FB

    oklch(93.7% 0.034 312.4)

  3. Step 200

    200

    #E9CDF9

    oklch(88.5% 0.066 313.3)

  4. Step 300

    300 (this color)

    #CF9DEB

    oklch(77% 0.121 312.9)

  5. Step 400

    400

    #CA76F5

    oklch(70.7% 0.194 313)

  6. Step 500

    500

    #BB48F0

    oklch(63% 0.247 312.9)

  7. Step 600

    600

    #A714DE

    oklch(55.5% 0.267 313)

  8. Step 700

    700

    #8F00BF

    oklch(49.1% 0.244 313.2)

  9. Step 800

    800

    #740A9C

    oklch(42.6% 0.206 312.8)

  10. Step 900

    900

    #5E197C

    oklch(37.7% 0.16 313)

  11. Step 950

    950

    #371149

    oklch(27% 0.102 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#CF9DEB 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)#90ADEE0.093
Deuteranopia (no green cones)#9BB1E90.086
Tritanopia (no blue cones)#CDA7BA0.083
Achromatopsia (no color)#B0B0B00.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF9DEB

    #CF9DEB

    oklch(77% 0.121 312.9)

  • #96C573

    #96C573

    oklch(77.1% 0.121 132.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF9DEB

    #CF9DEB

    oklch(77% 0.121 312.9)

  • #A9AAFF

    #A9AAFF

    oklch(77% 0.121 282.7)

  • #EA94C8

    #EA94C8

    oklch(76.9% 0.122 343.3)

Open the analogous palette in the generator

Split complementary

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

  • #CF9DEB

    #CF9DEB

    oklch(77% 0.121 312.9)

  • #C2B755

    #C2B755

    oklch(76.9% 0.12 102.9)

  • #62CC9E

    #62CC9E

    oklch(77% 0.12 163)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF9DEB

    #CF9DEB

    oklch(77% 0.121 312.9)

  • #E3A756

    #E3A756

    oklch(76.9% 0.121 72.5)

  • #36CCC9

    #36CCC9

    oklch(77% 0.121 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF9DEB

    #CF9DEB

    oklch(77% 0.121 312.9)

  • #F59A75

    #F59A75

    oklch(77.1% 0.121 42.7)

  • #96C573

    #96C573

    oklch(77.1% 0.121 132.9)

  • #49C5EC

    #49C5EC

    oklch(77.1% 0.121 222.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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