#CF97E8

Closest named color: Baby Purple (#CA9BF7). oklch(75.8% 0.127 315), rgb(207, 151, 232).

Aa

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

About this color

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

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

Values

HEX#CF97E8
RGBrgb(207, 151, 232)
HSLhsl(281, 64%, 75%)
OKLCHoklch(75.8% 0.127 315)

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 #CF97E8 2.27:1 Fails Lc -49.5 Large or bold text, headings
Black text on #CF97E8 9.24:1 AAA Lc 59.3 Large or bold text, headings
#CF97E8 text on white 2.27:1 Fails Lc 44.7 Non-text elements, placeholder text
#CF97E8 text on black 9.24:1 AAA Lc -57.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

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F3E3FB

    oklch(93.6% 0.036 314.6)

  3. Step 200

    200

    #EBCCFA

    oklch(88.6% 0.07 314.7)

  4. Step 300

    300 (this color)

    #CF97E8

    oklch(75.8% 0.127 315)

  5. Step 400

    400

    #CF71F6

    oklch(70.6% 0.205 315)

  6. Step 500

    500

    #C23EF2

    oklch(63.1% 0.261 315.1)

  7. Step 600

    600

    #AC00DD

    oklch(55.7% 0.274 315.1)

  8. Step 700

    700

    #9100BB

    oklch(49.1% 0.242 315)

  9. Step 800

    800

    #77009B

    oklch(42.6% 0.21 314.7)

  10. Step 900

    900

    #62117D

    oklch(37.8% 0.17 315.3)

  11. Step 950

    950

    #390E49

    oklch(26.9% 0.108 315.1)

Export this scale for Tailwind in the Tailwind colors tool

#CF97E8 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)#8AA9EB0.102
Deuteranopia (no green cones)#97AEE60.095
Tritanopia (no blue cones)#CEA1B50.086
Achromatopsia (no color)#ACACAC0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF97E8

    #CF97E8

    oklch(75.8% 0.127 315)

  • #8DC36E

    #8DC36E

    oklch(76% 0.128 135)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF97E8

    #CF97E8

    oklch(75.8% 0.127 315)

  • #A8A4FE

    #A8A4FE

    oklch(75.7% 0.128 284.9)

  • #EA8EC3

    #EA8EC3

    oklch(75.8% 0.128 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #CF97E8

    #CF97E8

    oklch(75.8% 0.127 315)

  • #BDB54B

    #BDB54B

    oklch(75.9% 0.127 105)

  • #52CA9C

    #52CA9C

    oklch(75.9% 0.128 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF97E8

    #CF97E8

    oklch(75.8% 0.127 315)

  • #DFA449

    #DFA449

    oklch(75.8% 0.127 75.3)

  • #12C9C9

    #12C9C9

    oklch(75.8% 0.127 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF97E8

    #CF97E8

    oklch(75.8% 0.127 315)

  • #F3956A

    #F3956A

    oklch(75.8% 0.127 44.9)

  • #8DC36E

    #8DC36E

    oklch(76% 0.128 135)

  • #3CC1ED

    #3CC1ED

    oklch(75.9% 0.127 224.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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