#CBABF8

Closest named color: Pale Violet (#CEAEFA). oklch(79.7% 0.112 303), rgb(203, 171, 248).

Aa

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

About this color

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

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

Values

HEX#CBABF8
RGBrgb(203, 171, 248)
HSLhsl(265, 85%, 82%)
OKLCHoklch(79.7% 0.112 303)

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 #CBABF8 1.95:1 Fails Lc -42.0 Non-text elements, placeholder text
Black text on #CBABF8 10.71:1 AAA Lc 66.3 Content text, not long reading
#CBABF8 text on white 1.95:1 Fails Lc 37.7 Non-text elements, placeholder text
#CBABF8 text on black 10.71:1 AAA Lc -64.8 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

    #E1D0FC

    oklch(88.5% 0.062 302.7)

  4. Step 300

    300 (this color)

    #CBABF8

    oklch(79.7% 0.112 303)

  5. Step 400

    400

    #B880FB

    oklch(70.7% 0.18 303.1)

  6. Step 500

    500

    #A759F8

    oklch(63.1% 0.228 302.9)

  7. Step 600

    600

    #9334E7

    oklch(55.6% 0.249 302.9)

  8. Step 700

    700

    #7E23C8

    oklch(49.1% 0.231 303.3)

  9. Step 800

    800

    #6621A2

    oklch(42.7% 0.191 303.1)

  10. Step 900

    900

    #532481

    oklch(37.8% 0.149 303)

  11. Step 950

    950

    #30174B

    oklch(27% 0.093 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#CBABF8 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)#9BB8FB0.069
Deuteranopia (no green cones)#A1B9F60.065
Tritanopia (no blue cones)#C4B7C70.087
Achromatopsia (no color)#B9B9B90.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBABF8

    #CBABF8

    oklch(79.7% 0.112 303)

  • #AFC976

    #AFC976

    oklch(79.7% 0.112 123.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBABF8

    #CBABF8

    oklch(79.7% 0.112 303)

  • #A7B8FF

    #A7B8FF

    oklch(79.6% 0.103 273.5)

  • #E8A1DC

    #E8A1DC

    oklch(79.6% 0.113 332.7)

Open the analogous palette in the generator

Split complementary

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

  • #CBABF8

    #CBABF8

    oklch(79.7% 0.112 303)

  • #D5BB64

    #D5BB64

    oklch(79.6% 0.111 93.1)

  • #82D29A

    #82D29A

    oklch(79.7% 0.112 152.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBABF8

    #CBABF8

    oklch(79.7% 0.112 303)

  • #F0AC6E

    #F0AC6E

    oklch(79.6% 0.112 62.5)

  • #5AD4C3

    #5AD4C3

    oklch(79.6% 0.112 182.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBABF8

    #CBABF8

    oklch(79.7% 0.112 303)

  • #FCA28E

    #FCA28E

    oklch(79.7% 0.112 33.2)

  • #AFC976

    #AFC976

    oklch(79.7% 0.112 123.1)

  • #56CFE7

    #56CFE7

    oklch(79.6% 0.112 213)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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