#CB98DF

Closest named color: Baby Purple (#CA9BF7). oklch(75.2% 0.113 316.2), rgb(203, 152, 223).

Aa

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

About this color

#CB98DF is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.113 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.034 away. Black text reads best on it, at 9.09:1.

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

Values

HEX#CB98DF
RGBrgb(203, 152, 223)
HSLhsl(283, 53%, 74%)
OKLCHoklch(75.2% 0.113 316.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 #CB98DF 2.30:1 Fails Lc -50.3 Large or bold text, headings
Black text on #CB98DF 9.09:1 AAA Lc 58.5 Large or bold text, headings
#CB98DF text on white 2.30:1 Fails Lc 45.4 Large or bold text, headings
#CB98DF text on black 9.09:1 AAA Lc -56.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 400.

  1. Step 50

    50

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E4D2EB

    oklch(88.6% 0.039 316.6)

  4. Step 300

    300

    #D3B3E0

    oklch(80.9% 0.071 316.1)

  5. Step 400

    400 (this color)

    #CB98DF

    oklch(75.2% 0.113 316.2)

  6. Step 500

    500

    #AB6BC4

    oklch(63.1% 0.145 315.9)

  7. Step 600

    600

    #9651B0

    oklch(55.6% 0.157 316)

  8. Step 700

    700

    #804197

    oklch(49.1% 0.146 316.2)

  9. Step 800

    800

    #68367B

    oklch(42.7% 0.121 315.9)

  10. Step 900

    900

    #553063

    oklch(37.8% 0.094 316.1)

  11. Step 950

    950

    #321C3A

    oklch(27% 0.061 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#CB98DF 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)#8EA7E20.091
Deuteranopia (no green cones)#9AACDD0.084
Tritanopia (no blue cones)#CAA1B20.077
Achromatopsia (no color)#ABABAB0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB98DF

    #CB98DF

    oklch(75.2% 0.113 316.2)

  • #8DBF76

    #8DBF76

    oklch(75.1% 0.113 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB98DF

    #CB98DF

    oklch(75.2% 0.113 316.2)

  • #A9A4F3

    #A9A4F3

    oklch(75.3% 0.113 286.3)

  • #E391BE

    #E391BE

    oklch(75.3% 0.113 346.1)

Open the analogous palette in the generator

Split complementary

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

  • #CB98DF

    #CB98DF

    oklch(75.2% 0.113 316.2)

  • #B8B359

    #B8B359

    oklch(75.2% 0.113 105.9)

  • #5EC69E

    #5EC69E

    oklch(75.3% 0.114 165.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB98DF

    #CB98DF

    oklch(75.2% 0.113 316.2)

  • #D8A456

    #D8A456

    oklch(75.2% 0.114 75.6)

  • #3DC5C6

    #3DC5C6

    oklch(75.3% 0.113 195.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB98DF

    #CB98DF

    oklch(75.2% 0.113 316.2)

  • #EA9770

    #EA9770

    oklch(75.2% 0.113 45.7)

  • #8DBF76

    #8DBF76

    oklch(75.1% 0.113 136.3)

  • #52BDE6

    #52BDE6

    oklch(75.2% 0.114 226.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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