#CF97ED

Closest named color: Baby Purple (#CA9BF7). oklch(76% 0.133 313.3), rgb(207, 151, 237).

Aa

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

About this color

#CF97ED is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.133 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.017 away. Black text reads best on it, at 9.30:1.

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

Values

HEX#CF97ED
RGBrgb(207, 151, 237)
HSLhsl(279, 70%, 76%)
OKLCHoklch(76% 0.133 313.3)

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 #CF97ED 2.25:1 Fails Lc -49.2 Large or bold text, headings
Black text on #CF97ED 9.30:1 AAA Lc 59.6 Large or bold text, headings
#CF97ED text on white 2.25:1 Fails Lc 44.4 Non-text elements, placeholder text
#CF97ED text on black 9.30:1 AAA Lc -57.8 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

    #F3E3FD

    oklch(93.6% 0.039 312.7)

  3. Step 200

    200

    #EBCBFC

    oklch(88.4% 0.074 313.9)

  4. Step 300

    300 (this color)

    #CF97ED

    oklch(76% 0.133 313.3)

  5. Step 400

    400

    #CE6FFC

    oklch(70.6% 0.213 313.3)

  6. Step 500

    500

    #C139FA

    oklch(63.1% 0.272 313.2)

  7. Step 600

    600

    #A900E1

    oklch(55.6% 0.276 313.2)

  8. Step 700

    700

    #8F00BF

    oklch(49.1% 0.244 313.2)

  9. Step 800

    800

    #76009E

    oklch(42.7% 0.212 313.3)

  10. Step 900

    900

    #610C82

    oklch(37.7% 0.177 313.1)

  11. Step 950

    950

    #390D4C

    oklch(27.1% 0.112 313.2)

Export this scale for Tailwind in the Tailwind colors tool

#CF97ED 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)#88A9F00.104
Deuteranopia (no green cones)#95AEEA0.097
Tritanopia (no blue cones)#CDA3B70.093
Achromatopsia (no color)#ACACAC0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF97ED

    #CF97ED

    oklch(76% 0.133 313.3)

  • #8FC368

    #8FC368

    oklch(76% 0.133 133.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF97ED

    #CF97ED

    oklch(76% 0.133 313.3)

  • #A7A6FF

    #A7A6FF

    oklch(76.1% 0.127 283.5)

  • #EB8EC7

    #EB8EC7

    oklch(76.1% 0.132 343.2)

Open the analogous palette in the generator

Split complementary

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

  • #CF97ED

    #CF97ED

    oklch(76% 0.133 313.3)

  • #C1B543

    #C1B543

    oklch(76.2% 0.134 103.3)

  • #4FCB99

    #4FCB99

    oklch(75.9% 0.133 163.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF97ED

    #CF97ED

    oklch(76% 0.133 313.3)

  • #E4A344

    #E4A344

    oklch(76.1% 0.133 73.4)

  • #00CBC8

    #00CBC8

    oklch(76.1% 0.13 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF97ED

    #CF97ED

    oklch(76% 0.133 313.3)

  • #F79369

    #F79369

    oklch(76% 0.134 43.2)

  • #8FC368

    #8FC368

    oklch(76% 0.133 133.1)

  • #2CC3EF

    #2CC3EF

    oklch(76.1% 0.133 223.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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