#CF98ED

Closest named color: Baby Purple (#CA9BF7). oklch(76.2% 0.131 313.1), rgb(207, 152, 237).

Aa

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

About this color

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

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

Values

HEX#CF98ED
RGBrgb(207, 152, 237)
HSLhsl(279, 70%, 76%)
OKLCHoklch(76.2% 0.131 313.1)

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 #CF98ED 2.24:1 Fails Lc -48.9 Large or bold text, headings
Black text on #CF98ED 9.36:1 AAA Lc 59.9 Large or bold text, headings
#CF98ED text on white 2.24:1 Fails Lc 44.1 Non-text elements, placeholder text
#CF98ED text on black 9.36:1 AAA Lc -58.1 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

    #F3E3FC

    oklch(93.6% 0.037 313.6)

  3. Step 200

    200

    #EACCFC

    oklch(88.5% 0.072 312.8)

  4. Step 300

    300 (this color)

    #CF98ED

    oklch(76.2% 0.131 313.1)

  5. Step 400

    400

    #CD71FC

    oklch(70.7% 0.21 312.8)

  6. Step 500

    500

    #C03BF9

    oklch(63.1% 0.269 313.1)

  7. Step 600

    600

    #A900E2

    oklch(55.6% 0.277 313)

  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

    #610E81

    oklch(37.8% 0.175 313.3)

  11. Step 950

    950

    #390D4C

    oklch(27.1% 0.112 313.2)

Export this scale for Tailwind in the Tailwind colors tool

#CF98ED 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)#89AAF00.103
Deuteranopia (no green cones)#96AFEA0.096
Tritanopia (no blue cones)#CDA3B80.090
Achromatopsia (no color)#ADADAD0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF98ED

    #CF98ED

    oklch(76.2% 0.131 313.1)

  • #90C46A

    #90C46A

    oklch(76.3% 0.132 133.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF98ED

    #CF98ED

    oklch(76.2% 0.131 313.1)

  • #A7A7FF

    #A7A7FF

    oklch(76.3% 0.125 283)

  • #EB8FC8

    #EB8FC8

    oklch(76.3% 0.131 342.8)

Open the analogous palette in the generator

Split complementary

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

  • #CF98ED

    #CF98ED

    oklch(76.2% 0.131 313.1)

  • #C1B546

    #C1B546

    oklch(76.2% 0.131 103.1)

  • #52CC9A

    #52CC9A

    oklch(76.3% 0.132 163.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF98ED

    #CF98ED

    oklch(76.2% 0.131 313.1)

  • #E4A347

    #E4A347

    oklch(76.1% 0.131 72.7)

  • #00CBC9

    #00CBC9

    oklch(76.2% 0.13 193.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF98ED

    #CF98ED

    oklch(76.2% 0.131 313.1)

  • #F7946B

    #F7946B

    oklch(76.2% 0.132 42.9)

  • #90C46A

    #90C46A

    oklch(76.3% 0.132 133.3)

  • #30C3EE

    #30C3EE

    oklch(76.1% 0.131 223)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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