#CF98E7

Closest named color: Baby Purple (#CA9BF7). oklch(76% 0.125 315.2), rgb(207, 152, 231).

Aa

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

About this color

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

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

Values

HEX#CF98E7
RGBrgb(207, 152, 231)
HSLhsl(282, 62%, 75%)
OKLCHoklch(76% 0.125 315.2)

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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F3E3FB

    oklch(93.6% 0.036 314.6)

  3. Step 200

    200

    #EBCCF9

    oklch(88.5% 0.069 315.3)

  4. Step 300

    300 (this color)

    #CF98E7

    oklch(76% 0.125 315.2)

  5. Step 400

    400

    #CE73F4

    oklch(70.7% 0.199 315)

  6. Step 500

    500

    #C142EF

    oklch(63.1% 0.254 315.3)

  7. Step 600

    600

    #AC00DC

    oklch(55.6% 0.273 315.3)

  8. Step 700

    700

    #9100BA

    oklch(49% 0.241 315.3)

  9. Step 800

    800

    #78009A

    oklch(42.7% 0.21 315.5)

  10. Step 900

    900

    #61147C

    oklch(37.8% 0.166 315)

  11. Step 950

    950

    #390F48

    oklch(27% 0.105 315.6)

Export this scale for Tailwind in the Tailwind colors tool

#CF98E7 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)#8CA9EA0.099
Deuteranopia (no green cones)#99AEE50.091
Tritanopia (no blue cones)#CEA2B50.085
Achromatopsia (no color)#ACACAC0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF98E7

    #CF98E7

    oklch(76% 0.125 315.2)

  • #8EC371

    #8EC371

    oklch(76.1% 0.124 135.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF98E7

    #CF98E7

    oklch(76% 0.125 315.2)

  • #A9A5FD

    #A9A5FD

    oklch(76% 0.125 285.1)

  • #E990C3

    #E990C3

    oklch(76% 0.124 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #CF98E7

    #CF98E7

    oklch(76% 0.125 315.2)

  • #BCB54F

    #BCB54F

    oklch(75.9% 0.124 105.3)

  • #55CA9E

    #55CA9E

    oklch(76% 0.125 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF98E7

    #CF98E7

    oklch(76% 0.125 315.2)

  • #DFA54D

    #DFA54D

    oklch(76% 0.125 75.2)

  • #22C9CA

    #22C9CA

    oklch(76% 0.124 195.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF98E7

    #CF98E7

    oklch(76% 0.125 315.2)

  • #F2966C

    #F2966C

    oklch(75.9% 0.125 44.9)

  • #8EC371

    #8EC371

    oklch(76.1% 0.124 135.2)

  • #42C1EC

    #42C1EC

    oklch(76% 0.124 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 #CF98E7, closest first.

Similar named colors

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

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