#CF9CEF

Closest named color: Baby Purple (#CA9BF7). oklch(77% 0.127 311.7), rgb(207, 156, 239).

Aa

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

About this color

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

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

Values

HEX#CF9CEF
RGBrgb(207, 156, 239)
HSLhsl(277, 72%, 77%)
OKLCHoklch(77% 0.127 311.7)

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 #CF9CEF 2.17:1 Fails Lc -47.4 Large or bold text, headings
Black text on #CF9CEF 9.65:1 AAA Lc 61.3 Content text, not long reading
#CF9CEF text on white 2.17:1 Fails Lc 42.7 Non-text elements, placeholder text
#CF9CEF text on black 9.65:1 AAA Lc -59.5 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

    #F9F2FE

    oklch(97% 0.017 311.6)

  2. Step 100

    100

    #F2E3FC

    oklch(93.5% 0.037 312.1)

  3. Step 200

    200

    #E9CCFC

    oklch(88.5% 0.072 311.9)

  4. Step 300

    300 (this color)

    #CF9CEF

    oklch(77% 0.127 311.7)

  5. Step 400

    400

    #CA74FB

    oklch(70.8% 0.203 311.7)

  6. Step 500

    500

    #BC42F8

    oklch(63.1% 0.261 311.7)

  7. Step 600

    600

    #A700E5

    oklch(55.6% 0.279 311.7)

  8. Step 700

    700

    #8D00C2

    oklch(49.1% 0.246 311.7)

  9. Step 800

    800

    #7400A1

    oklch(42.7% 0.214 311.5)

  10. Step 900

    900

    #5E1480

    oklch(37.6% 0.169 311.8)

  11. Step 950

    950

    #370F4B

    oklch(26.9% 0.108 311.8)

Export this scale for Tailwind in the Tailwind colors tool

#CF9CEF 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)#8DADF20.097
Deuteranopia (no green cones)#99B1ED0.089
Tritanopia (no blue cones)#CCA7BB0.089
Achromatopsia (no color)#B0B0B00.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF9CEF

    #CF9CEF

    oklch(77% 0.127 311.7)

  • #96C56D

    #96C56D

    oklch(77% 0.127 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF9CEF

    #CF9CEF

    oklch(77% 0.127 311.7)

  • #A8AAFF

    #A8AAFF

    oklch(76.9% 0.121 282.1)

  • #EB93CB

    #EB93CB

    oklch(77% 0.126 341.8)

Open the analogous palette in the generator

Split complementary

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

  • #CF9CEF

    #CF9CEF

    oklch(77% 0.127 311.7)

  • #C5B74D

    #C5B74D

    oklch(77.1% 0.127 101.8)

  • #5DCD9B

    #5DCD9B

    oklch(76.9% 0.127 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF9CEF

    #CF9CEF

    oklch(77% 0.127 311.7)

  • #E6A650

    #E6A650

    oklch(77% 0.127 71.9)

  • #23CDC9

    #23CDC9

    oklch(76.9% 0.127 192.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF9CEF

    #CF9CEF

    oklch(77% 0.127 311.7)

  • #F89872

    #F89872

    oklch(77.1% 0.127 42.2)

  • #96C56D

    #96C56D

    oklch(77% 0.127 131.8)

  • #3BC6EE

    #3BC6EE

    oklch(77.1% 0.127 221.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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