#CBAFF2

Closest named color: Pale Violet (#CEAEFA). oklch(80.1% 0.097 303.4), rgb(203, 175, 242).

Aa

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

About this color

#CBAFF2 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.097 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.013 away. Black text reads best on it, at 10.95:1.

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

Values

HEX#CBAFF2
RGBrgb(203, 175, 242)
HSLhsl(265, 72%, 82%)
OKLCHoklch(80.1% 0.097 303.4)

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 #CBAFF2 1.91:1 Fails Lc -40.9 Non-text elements, placeholder text
Black text on #CBAFF2 10.95:1 AAA Lc 67.3 Content text, not long reading
#CBAFF2 text on white 1.91:1 Fails Lc 36.6 Non-text elements, placeholder text
#CBAFF2 text on black 10.95:1 AAA Lc -65.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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #E0D1F7

    oklch(88.5% 0.054 303.2)

  4. Step 300

    300 (this color)

    #CBAFF2

    oklch(80.1% 0.097 303.4)

  5. Step 400

    400

    #B586EF

    oklch(70.7% 0.155 303.3)

  6. Step 500

    500

    #A462EA

    oklch(63.1% 0.2 303.5)

  7. Step 600

    600

    #8F44D8

    oklch(55.6% 0.216 303.2)

  8. Step 700

    700

    #7A33BB

    oklch(49% 0.202 303.5)

  9. Step 800

    800

    #632C97

    oklch(42.6% 0.167 303.5)

  10. Step 900

    900

    #512A79

    oklch(37.8% 0.13 303.4)

  11. Step 950

    950

    #2F1A47

    oklch(27.1% 0.082 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#CBAFF2 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)#A2BAF50.059
Deuteranopia (no green cones)#A7BBF00.056
Tritanopia (no blue cones)#C5B9C70.075
Achromatopsia (no color)#BBBBBB0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBAFF2

    #CBAFF2

    oklch(80.1% 0.097 303.4)

  • #B2C982

    #B2C982

    oklch(80.2% 0.097 123.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBAFF2

    #CBAFF2

    oklch(80.1% 0.097 303.4)

  • #AABAFD

    #AABAFD

    oklch(80.1% 0.097 273.7)

  • #E5A7D9

    #E5A7D9

    oklch(80.2% 0.097 333.4)

Open the analogous palette in the generator

Split complementary

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

  • #CBAFF2

    #CBAFF2

    oklch(80.1% 0.097 303.4)

  • #D3BD73

    #D3BD73

    oklch(80.1% 0.097 93.4)

  • #8CD1A1

    #8CD1A1

    oklch(80.2% 0.098 153.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBAFF2

    #CBAFF2

    oklch(80.1% 0.097 303.4)

  • #EBB17B

    #EBB17B

    oklch(80.2% 0.097 63.7)

  • #6ED3C4

    #6ED3C4

    oklch(80.2% 0.098 183)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBAFF2

    #CBAFF2

    oklch(80.1% 0.097 303.4)

  • #F6A795

    #F6A795

    oklch(80.1% 0.098 33.4)

  • #B2C982

    #B2C982

    oklch(80.2% 0.097 123.2)

  • #6CCFE4

    #6CCFE4

    oklch(80.2% 0.097 213.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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