#CF98E4

Closest named color: Baby Purple (#CA9BF7). oklch(75.8% 0.121 316.4), rgb(207, 152, 228).

Aa

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

About this color

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

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

Values

HEX#CF98E4
RGBrgb(207, 152, 228)
HSLhsl(283, 58%, 75%)
OKLCHoklch(75.8% 0.121 316.4)

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 #CF98E4 2.26:1 Fails Lc -49.4 Large or bold text, headings
Black text on #CF98E4 9.26:1 AAA Lc 59.4 Large or bold text, headings
#CF98E4 text on white 2.26:1 Fails Lc 44.6 Non-text elements, placeholder text
#CF98E4 text on black 9.26: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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F3E3FA

    oklch(93.5% 0.035 315.7)

  3. Step 200

    200

    #EBCCF7

    oklch(88.5% 0.067 316.5)

  4. Step 300

    300 (this color)

    #CF98E4

    oklch(75.8% 0.121 316.4)

  5. Step 400

    400

    #CF74F0

    oklch(70.7% 0.194 316.4)

  6. Step 500

    500

    #C144EA

    oklch(63% 0.248 316.4)

  7. Step 600

    600

    #AD07D8

    oklch(55.6% 0.269 316.5)

  8. Step 700

    700

    #9200B8

    oklch(49% 0.24 316.2)

  9. Step 800

    800

    #790298

    oklch(42.8% 0.208 316.5)

  10. Step 900

    900

    #611679

    oklch(37.7% 0.161 316.1)

  11. Step 950

    950

    #391047

    oklch(27% 0.103 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#CF98E4 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)#8DA9E70.098
Deuteranopia (no green cones)#9AAEE20.090
Tritanopia (no blue cones)#CFA1B40.080
Achromatopsia (no color)#ACACAC0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF98E4

    #CF98E4

    oklch(75.8% 0.121 316.4)

  • #8CC274

    #8CC274

    oklch(75.8% 0.121 136.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF98E4

    #CF98E4

    oklch(75.8% 0.121 316.4)

  • #ABA4FA

    #ABA4FA

    oklch(75.8% 0.122 286.8)

  • #E890C0

    #E890C0

    oklch(75.8% 0.121 346.5)

Open the analogous palette in the generator

Split complementary

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

  • #CF98E4

    #CF98E4

    oklch(75.8% 0.121 316.4)

  • #BAB553

    #BAB553

    oklch(75.7% 0.121 106.3)

  • #57C99F

    #57C99F

    oklch(75.9% 0.121 166.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF98E4

    #CF98E4

    oklch(75.8% 0.121 316.4)

  • #DCA550

    #DCA550

    oklch(75.7% 0.121 75.9)

  • #2CC8CA

    #2CC8CA

    oklch(75.9% 0.121 196.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF98E4

    #CF98E4

    oklch(75.8% 0.121 316.4)

  • #F0976C

    #F0976C

    oklch(75.8% 0.122 46.2)

  • #8CC274

    #8CC274

    oklch(75.8% 0.121 136.5)

  • #49C0EB

    #49C0EB

    oklch(75.9% 0.121 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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