#CB98DE

Closest named color: Baby Purple (#CA9BF7). oklch(75.2% 0.112 316.6), rgb(203, 152, 222).

Aa

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

About this color

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

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

Values

HEX#CB98DE
RGBrgb(203, 152, 222)
HSLhsl(284, 51%, 73%)
OKLCHoklch(75.2% 0.112 316.6)

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 #CB98DE 2.31:1 Fails Lc -50.4 Large or bold text, headings
Black text on #CB98DE 9.08:1 AAA Lc 58.5 Large or bold text, headings
#CB98DE text on white 2.31:1 Fails Lc 45.5 Large or bold text, headings
#CB98DE text on black 9.08:1 AAA Lc -56.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 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

    #D3B3DF

    oklch(80.9% 0.07 316.8)

  5. Step 400

    400 (this color)

    #CB98DE

    oklch(75.2% 0.112 316.6)

  6. Step 500

    500

    #AB6BC3

    oklch(63% 0.144 316.3)

  7. Step 600

    600

    #9751AF

    oklch(55.7% 0.156 316.8)

  8. Step 700

    700

    #804196

    oklch(49% 0.145 316.6)

  9. Step 800

    800

    #68367A

    oklch(42.6% 0.12 316.4)

  10. Step 900

    900

    #553062

    oklch(37.7% 0.093 316.8)

  11. Step 950

    950

    #321C3A

    oklch(27% 0.061 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#CB98DE 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)#8EA7E10.091
Deuteranopia (no green cones)#9AACDC0.084
Tritanopia (no blue cones)#CBA0B10.075
Achromatopsia (no color)#AAAAAA0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB98DE

    #CB98DE

    oklch(75.2% 0.112 316.6)

  • #8DBF77

    #8DBF77

    oklch(75.2% 0.112 136.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB98DE

    #CB98DE

    oklch(75.2% 0.112 316.6)

  • #A9A4F2

    #A9A4F2

    oklch(75.3% 0.111 286.3)

  • #E291BD

    #E291BD

    oklch(75.2% 0.112 346.4)

Open the analogous palette in the generator

Split complementary

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

  • #CB98DE

    #CB98DE

    oklch(75.2% 0.112 316.6)

  • #B7B35A

    #B7B35A

    oklch(75.1% 0.112 106.5)

  • #5EC59F

    #5EC59F

    oklch(75.1% 0.112 166.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB98DE

    #CB98DE

    oklch(75.2% 0.112 316.6)

  • #D7A557

    #D7A557

    oklch(75.3% 0.112 76.7)

  • #3FC4C6

    #3FC4C6

    oklch(75.1% 0.112 196.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB98DE

    #CB98DE

    oklch(75.2% 0.112 316.6)

  • #E99870

    #E99870

    oklch(75.2% 0.112 46.8)

  • #8DBF77

    #8DBF77

    oklch(75.2% 0.112 136.5)

  • #53BDE5

    #53BDE5

    oklch(75.2% 0.112 226.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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