#CB5FB7

Closest named color: Pale Magenta (#D767AD). oklch(64.6% 0.172 335), rgb(203, 95, 183).

Aa

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

About this color

#CB5FB7 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.172 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.036 away. Black text reads best on it, at 5.85:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.172)
Temperaturein between
Nearest namePale Magenta (#D767AD)
Black text5.85:1
White text3.58:1

Values

HEX#CB5FB7
RGBrgb(203, 95, 183)
HSLhsl(311, 51%, 58%)
OKLCHoklch(64.6% 0.172 335)

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 #CB5FB7 3.58:1 AA large text Lc -68.4 Content text, not long reading
Black text on #CB5FB7 5.85:1 AA Lc 41.2 Non-text elements, placeholder text
#CB5FB7 text on white 3.58:1 AA large text Lc 62.9 Content text, not long reading
#CB5FB7 text on black 5.85:1 AA Lc -38.8 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4F0

    oklch(93.6% 0.024 336.1)

  3. Step 200

    200

    #EECEE6

    oklch(88.5% 0.048 334.8)

  4. Step 300

    300

    #E3ACD6

    oklch(80.8% 0.084 335)

  5. Step 400

    400

    #D37EC2

    oklch(70.6% 0.135 334.6)

  6. Step 500

    500 (this color)

    #CB5FB7

    oklch(64.6% 0.172 335)

  7. Step 600

    600

    #B13C9E

    oklch(55.6% 0.187 334.9)

  8. Step 700

    700

    #982D87

    oklch(49.2% 0.174 335)

  9. Step 800

    800

    #7B276E

    oklch(42.7% 0.144 334.5)

  10. Step 900

    900

    #642559

    oklch(37.7% 0.113 335)

  11. Step 950

    950

    #3B1734

    oklch(27.1% 0.071 335.3)

Export this scale for Tailwind in the Tailwind colors tool

#CB5FB7 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)#5F7DBA0.178
Deuteranopia (no green cones)#7E8DB40.158
Tritanopia (no blue cones)#D465830.086
Achromatopsia (no color)#8787870.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB5FB7

    #CB5FB7

    oklch(64.6% 0.172 335)

  • #00A961

    #00A961

    oklch(64.6% 0.159 155.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB5FB7

    #CB5FB7

    oklch(64.6% 0.172 335)

  • #A76EE1

    #A76EE1

    oklch(64.7% 0.172 305)

  • #E05880

    #E05880

    oklch(64.7% 0.172 5)

Open the analogous palette in the generator

Split complementary

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

  • #CB5FB7

    #CB5FB7

    oklch(64.6% 0.172 335)

  • #789E00

    #789E00

    oklch(64.7% 0.162 124.9)

  • #00A497

    #00A497

    oklch(64.6% 0.114 185)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB5FB7

    #CB5FB7

    oklch(64.6% 0.172 335)

  • #A88C00

    #A88C00

    oklch(64.7% 0.133 94.7)

  • #009FB9

    #009FB9

    oklch(64.6% 0.114 214.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB5FB7

    #CB5FB7

    oklch(64.6% 0.172 335)

  • #C97800

    #C97800

    oklch(64.6% 0.145 64.9)

  • #00A961

    #00A961

    oklch(64.6% 0.159 155.1)

  • #0095E9

    #0095E9

    oklch(64.7% 0.162 244.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #CB5FB7.

Similar named colors

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

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