#CDABF8

Closest named color: Pale Violet (#CEAEFA). oklch(79.8% 0.112 304.2), rgb(205, 171, 248).

Aa

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

About this color

#CDABF8 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.112 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.008 away. Black text reads best on it, at 10.77:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.77:1
White text1.94:1

Values

HEX#CDABF8
RGBrgb(205, 171, 248)
HSLhsl(266, 85%, 82%)
OKLCHoklch(79.8% 0.112 304.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 #CDABF8 1.94:1 Fails Lc -41.7 Non-text elements, placeholder text
Black text on #CDABF8 10.77:1 AAA Lc 66.5 Content text, not long reading
#CDABF8 text on white 1.94:1 Fails Lc 37.4 Non-text elements, placeholder text
#CDABF8 text on black 10.77:1 AAA Lc -65.0 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FC

    oklch(93.6% 0.032 303.5)

  3. Step 200

    200

    #E2D0FB

    oklch(88.6% 0.061 304.2)

  4. Step 300

    300 (this color)

    #CDABF8

    oklch(79.8% 0.112 304.2)

  5. Step 400

    400

    #BA7FFA

    oklch(70.7% 0.181 304.3)

  6. Step 500

    500

    #A957F7

    oklch(63% 0.23 304)

  7. Step 600

    600

    #9532E5

    oklch(55.5% 0.249 304.1)

  8. Step 700

    700

    #8021C7

    oklch(49.1% 0.232 304.4)

  9. Step 800

    800

    #6820A1

    oklch(42.8% 0.192 304.4)

  10. Step 900

    900

    #542380

    oklch(37.8% 0.149 304.1)

  11. Step 950

    950

    #31164B

    oklch(27% 0.095 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#CDABF8 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)#9BB9FB0.072
Deuteranopia (no green cones)#A2BAF60.067
Tritanopia (no blue cones)#C6B6C70.085
Achromatopsia (no color)#BABABA0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDABF8

    #CDABF8

    oklch(79.8% 0.112 304.2)

  • #AECA77

    #AECA77

    oklch(79.9% 0.113 124.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDABF8

    #CDABF8

    oklch(79.8% 0.112 304.2)

  • #A9B9FF

    #A9B9FF

    oklch(79.9% 0.101 274)

  • #EAA2DB

    #EAA2DB

    oklch(79.9% 0.112 334.3)

Open the analogous palette in the generator

Split complementary

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

  • #CDABF8

    #CDABF8

    oklch(79.8% 0.112 304.2)

  • #D5BC64

    #D5BC64

    oklch(79.8% 0.112 93.8)

  • #80D39C

    #80D39C

    oklch(79.9% 0.113 154)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDABF8

    #CDABF8

    oklch(79.8% 0.112 304.2)

  • #F0AE6D

    #F0AE6D

    oklch(80% 0.113 64.6)

  • #59D5C5

    #59D5C5

    oklch(79.9% 0.113 183.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDABF8

    #CDABF8

    oklch(79.8% 0.112 304.2)

  • #FCA28D

    #FCA28D

    oklch(79.7% 0.112 33.8)

  • #AECA77

    #AECA77

    oklch(79.9% 0.113 124.1)

  • #57D0E9

    #57D0E9

    oklch(79.9% 0.112 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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