#CBA7DF

Closest named color: Plum (#DDA0DD). oklch(77.9% 0.087 313.3), rgb(203, 167, 223).

Aa

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

About this color

#CBA7DF is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.087 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.031 away. Black text reads best on it, at 10.13:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text10.13:1
White text2.07:1

Values

HEX#CBA7DF
RGBrgb(203, 167, 223)
HSLhsl(279, 47%, 76%)
OKLCHoklch(77.9% 0.087 313.3)

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 #CBA7DF 2.07:1 Fails Lc -45.0 Large or bold text, headings
Black text on #CBA7DF 10.13:1 AAA Lc 63.5 Content text, not long reading
#CBA7DF text on white 2.07:1 Fails Lc 40.4 Non-text elements, placeholder text
#CBA7DF text on black 10.13:1 AAA Lc -61.9 Content text, not long reading

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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F6

    oklch(93.6% 0.025 314)

  3. Step 200

    200

    #E5D0F0

    oklch(88.5% 0.049 314.2)

  4. Step 300

    300 (this color)

    #CBA7DF

    oklch(77.9% 0.087 313.3)

  5. Step 400

    400

    #BF85DE

    oklch(70.7% 0.14 313.1)

  6. Step 500

    500

    #AF63D4

    oklch(63.2% 0.178 313.5)

  7. Step 600

    600

    #9A46C1

    oklch(55.6% 0.193 313.4)

  8. Step 700

    700

    #8336A7

    oklch(49% 0.18 313)

  9. Step 800

    800

    #6B2E87

    oklch(42.7% 0.149 313.5)

  10. Step 900

    900

    #572A6C

    oklch(37.7% 0.117 313.7)

  11. Step 950

    950

    #331A3F

    oklch(27.1% 0.072 313.7)

Export this scale for Tailwind in the Tailwind colors tool

#CBA7DF 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)#9FB2E10.065
Deuteranopia (no green cones)#A6B5DD0.061
Tritanopia (no blue cones)#CAAEBB0.061
Achromatopsia (no color)#B4B4B40.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBA7DF

    #CBA7DF

    oklch(77.9% 0.087 313.3)

  • #A1C48A

    #A1C48A

    oklch(78% 0.088 133.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBA7DF

    #CBA7DF

    oklch(77.9% 0.087 313.3)

  • #AFB0EE

    #AFB0EE

    oklch(77.9% 0.088 283.4)

  • #DFA1C6

    #DFA1C6

    oklch(77.9% 0.087 342.8)

Open the analogous palette in the generator

Split complementary

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

  • #CBA7DF

    #CBA7DF

    oklch(77.9% 0.087 313.3)

  • #C1BA78

    #C1BA78

    oklch(77.9% 0.087 103)

  • #81C9A7

    #81C9A7

    oklch(77.9% 0.088 163)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBA7DF

    #CBA7DF

    oklch(77.9% 0.087 313.3)

  • #D9AF78

    #D9AF78

    oklch(77.9% 0.087 73.5)

  • #6EC9C7

    #6EC9C7

    oklch(77.9% 0.087 193.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBA7DF

    #CBA7DF

    oklch(77.9% 0.087 313.3)

  • #E7A58A

    #E7A58A

    oklch(77.8% 0.087 43.2)

  • #A1C48A

    #A1C48A

    oklch(78% 0.088 133.4)

  • #75C4E0

    #75C4E0

    oklch(78% 0.087 222.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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