#CF98E5

Closest named color: Baby Purple (#CA9BF7). oklch(75.9% 0.122 316), rgb(207, 152, 229).

Aa

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

About this color

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

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

Values

HEX#CF98E5
RGBrgb(207, 152, 229)
HSLhsl(283, 60%, 75%)
OKLCHoklch(75.9% 0.122 316)

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 #CF98E5 2.26:1 Fails Lc -49.4 Large or bold text, headings
Black text on #CF98E5 9.27:1 AAA Lc 59.4 Large or bold text, headings
#CF98E5 text on white 2.26:1 Fails Lc 44.5 Non-text elements, placeholder text
#CF98E5 text on black 9.27:1 AAA Lc -57.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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F3E3FA

    oklch(93.5% 0.035 315.7)

  3. Step 200

    200

    #EBCCF8

    oklch(88.5% 0.068 315.9)

  4. Step 300

    300 (this color)

    #CF98E5

    oklch(75.9% 0.122 316)

  5. Step 400

    400

    #CF74F1

    oklch(70.8% 0.195 316.1)

  6. Step 500

    500

    #C144EC

    oklch(63.1% 0.25 315.9)

  7. Step 600

    600

    #AD02DA

    oklch(55.6% 0.272 316.1)

  8. Step 700

    700

    #9200B9

    oklch(49.1% 0.241 315.9)

  9. Step 800

    800

    #780099

    oklch(42.6% 0.209 315.8)

  10. Step 900

    900

    #61157A

    oklch(37.7% 0.163 315.8)

  11. Step 950

    950

    #391047

    oklch(27% 0.103 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#CF98E5 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)#8DA9E80.098
Deuteranopia (no green cones)#99AEE30.091
Tritanopia (no blue cones)#CEA2B40.083
Achromatopsia (no color)#ACACAC0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF98E5

    #CF98E5

    oklch(75.9% 0.122 316)

  • #8DC273

    #8DC273

    oklch(75.8% 0.121 135.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF98E5

    #CF98E5

    oklch(75.9% 0.122 316)

  • #AAA5FB

    #AAA5FB

    oklch(75.9% 0.122 285.8)

  • #E890C1

    #E890C1

    oklch(75.8% 0.122 345.9)

Open the analogous palette in the generator

Split complementary

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

  • #CF98E5

    #CF98E5

    oklch(75.9% 0.122 316)

  • #BBB551

    #BBB551

    oklch(75.8% 0.122 105.8)

  • #56C99F

    #56C99F

    oklch(75.8% 0.122 166.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF98E5

    #CF98E5

    oklch(75.9% 0.122 316)

  • #DDA54F

    #DDA54F

    oklch(75.8% 0.122 75.7)

  • #29C8CA

    #29C8CA

    oklch(75.8% 0.122 196.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF98E5

    #CF98E5

    oklch(75.9% 0.122 316)

  • #F0976C

    #F0976C

    oklch(75.8% 0.122 46.2)

  • #8DC273

    #8DC273

    oklch(75.8% 0.121 135.9)

  • #47C0EC

    #47C0EC

    oklch(75.9% 0.122 226.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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