#CDBAFB

Closest named color: Light Violet (#D6B4FC). oklch(82.7% 0.092 297.8), rgb(205, 186, 251).

Aa

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

About this color

#CDBAFB is a light, moderately saturated purple. In OKLCH its lightness is 83%, its chroma 0.092 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.019 away. Black text reads best on it, at 12.01:1.

Hue familyPurples
Lightnesslight (83%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text12.01:1
White text1.74:1

Values

HEX#CDBAFB
RGBrgb(205, 186, 251)
HSLhsl(258, 89%, 86%)
OKLCHoklch(82.7% 0.092 297.8)

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 #CDBAFB 1.74:1 Fails Lc -35.8 Non-text elements, placeholder text
Black text on #CDBAFB 12.01:1 AAA Lc 72.0 Content text, not long reading
#CDBAFB text on white 1.74:1 Fails Lc 31.8 Non-text elements, placeholder text
#CDBAFB text on black 12.01:1 AAA Lc -70.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FA

    oklch(93.6% 0.027 299.5)

  3. Step 200

    200

    #DDD3F7

    oklch(88.6% 0.05 298.1)

  4. Step 300

    300 (this color)

    #CDBAFB

    oklch(82.7% 0.092 297.8)

  5. Step 400

    400

    #AC8AF0

    oklch(70.6% 0.148 297.9)

  6. Step 500

    500

    #9969EA

    oklch(63% 0.188 298)

  7. Step 600

    600

    #854CD9

    oklch(55.6% 0.205 297.9)

  8. Step 700

    700

    #703CBC

    oklch(49.1% 0.19 297.5)

  9. Step 800

    800

    #5B3398

    oklch(42.7% 0.157 297.5)

  10. Step 900

    900

    #4B2E79

    oklch(37.7% 0.123 298.1)

  11. Step 950

    950

    #2B1C47

    oklch(27% 0.078 297)

Export this scale for Tailwind in the Tailwind colors tool

#CDBAFB 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)#ACC4FE0.048
Deuteranopia (no green cones)#AFC3F90.045
Tritanopia (no blue cones)#C5C4D10.074
Achromatopsia (no color)#C4C4C40.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDBAFB

    #CDBAFB

    oklch(82.7% 0.092 297.8)

  • #C1CF8A

    #C1CF8A

    oklch(82.7% 0.092 117.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDBAFB

    #CDBAFB

    oklch(82.7% 0.092 297.8)

  • #AEC5FF

    #AEC5FF

    oklch(82.7% 0.086 267.7)

  • #E7B2E5

    #E7B2E5

    oklch(82.8% 0.091 327.6)

Open the analogous palette in the generator

Split complementary

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

  • #CDBAFB

    #CDBAFB

    oklch(82.7% 0.092 297.8)

  • #DFC380

    #DFC380

    oklch(82.6% 0.091 87.7)

  • #9ED7A5

    #9ED7A5

    oklch(82.7% 0.091 147.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDBAFB

    #CDBAFB

    oklch(82.7% 0.092 297.8)

  • #F4B88B

    #F4B88B

    oklch(82.7% 0.091 57.9)

  • #80DAC6

    #80DAC6

    oklch(82.6% 0.092 178)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDBAFB

    #CDBAFB

    oklch(82.7% 0.092 297.8)

  • #FDB0A5

    #FDB0A5

    oklch(82.8% 0.092 28.2)

  • #C1CF8A

    #C1CF8A

    oklch(82.7% 0.092 117.8)

  • #79D7E5

    #79D7E5

    oklch(82.6% 0.091 208)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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