#CB87C2

Closest named color: Pale Purple (#B790D4). oklch(71.1% 0.113 331.5), rgb(203, 135, 194).

Aa

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

About this color

#CB87C2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.113 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.041 away. Black text reads best on it, at 7.78:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.78:1
White text2.69:1

Values

HEX#CB87C2
RGBrgb(203, 135, 194)
HSLhsl(308, 40%, 66%)
OKLCHoklch(71.1% 0.113 331.5)

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 #CB87C2 2.69:1 Fails Lc -57.4 Large or bold text, headings
Black text on #CB87C2 7.78:1 AAA Lc 51.8 Large or bold text, headings
#CB87C2 text on white 2.69:1 Fails Lc 52.2 Large or bold text, headings
#CB87C2 text on black 7.78:1 AAA Lc -49.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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5F0

    oklch(93.5% 0.02 330.7)

  3. Step 200

    200

    #E9D0E5

    oklch(88.4% 0.039 331.2)

  4. Step 300

    300

    #DCB0D6

    oklch(80.8% 0.072 330.8)

  5. Step 400

    400 (this color)

    #CB87C2

    oklch(71.1% 0.113 331.5)

  6. Step 500

    500

    #BA65B1

    oklch(63% 0.145 331.1)

  7. Step 600

    600

    #A54A9C

    oklch(55.5% 0.157 331.4)

  8. Step 700

    700

    #8E3B86

    oklch(49.2% 0.147 331.4)

  9. Step 800

    800

    #73316C

    oklch(42.6% 0.121 331.7)

  10. Step 900

    900

    #5D2C58

    oklch(37.6% 0.095 331.2)

  11. Step 950

    950

    #371A34

    oklch(27% 0.061 331)

Export this scale for Tailwind in the Tailwind colors tool

#CB87C2 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)#8598C40.109
Deuteranopia (no green cones)#96A1C00.100
Tritanopia (no blue cones)#D18B9C0.061
Achromatopsia (no color)#9D9D9D0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB87C2

    #CB87C2

    oklch(71.1% 0.113 331.5)

  • #68B67E

    #68B67E

    oklch(71.1% 0.113 151.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB87C2

    #CB87C2

    oklch(71.1% 0.113 331.5)

  • #AE91DD

    #AE91DD

    oklch(71.1% 0.112 301.1)

  • #DC839D

    #DC839D

    oklch(71.2% 0.113 1.5)

Open the analogous palette in the generator

Split complementary

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

  • #CB87C2

    #CB87C2

    oklch(71.1% 0.113 331.5)

  • #97AD59

    #97AD59

    oklch(71.2% 0.113 121.4)

  • #37B9A6

    #37B9A6

    oklch(71.2% 0.114 181)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB87C2

    #CB87C2

    oklch(71.1% 0.113 331.5)

  • #BC9F46

    #BC9F46

    oklch(71.1% 0.113 91.2)

  • #2EB4CA

    #2EB4CA

    oklch(71% 0.113 211.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB87C2

    #CB87C2

    oklch(71.1% 0.113 331.5)

  • #D59153

    #D59153

    oklch(71.2% 0.114 61.7)

  • #68B67E

    #68B67E

    oklch(71.1% 0.113 151.7)

  • #5BAAE2

    #5BAAE2

    oklch(71.1% 0.113 241.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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