#CBA7EE

Closest named color: Pale Violet (#CEAEFA). oklch(78.5% 0.106 307.3), rgb(203, 167, 238).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.30:1
White text2.03:1

Values

HEX#CBA7EE
RGBrgb(203, 167, 238)
HSLhsl(270, 68%, 79%)
OKLCHoklch(78.5% 0.106 307.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 #CBA7EE 2.03:1 Fails Lc -44.1 Non-text elements, placeholder text
Black text on #CBA7EE 10.30:1 AAA Lc 64.3 Content text, not long reading
#CBA7EE text on white 2.03:1 Fails Lc 39.6 Non-text elements, placeholder text
#CBA7EE text on black 10.30:1 AAA Lc -62.7 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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5FA

    oklch(93.6% 0.03 307.1)

  3. Step 200

    200

    #E3D0F8

    oklch(88.6% 0.058 306.7)

  4. Step 300

    300 (this color)

    #CBA7EE

    oklch(78.5% 0.106 307.3)

  5. Step 400

    400

    #BD80F1

    oklch(70.7% 0.169 307.5)

  6. Step 500

    500

    #AD5AEC

    oklch(63.1% 0.216 307.5)

  7. Step 600

    600

    #9838DB

    oklch(55.6% 0.235 307)

  8. Step 700

    700

    #8227BE

    oklch(49.1% 0.219 307.1)

  9. Step 800

    800

    #6A2499

    oklch(42.7% 0.18 307.5)

  10. Step 900

    900

    #56257A

    oklch(37.8% 0.14 307.4)

  11. Step 950

    950

    #321747

    oklch(27% 0.088 307.4)

Export this scale for Tailwind in the Tailwind colors tool

#CBA7EE 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)#9AB4F10.071
Deuteranopia (no green cones)#A1B6EC0.067
Tritanopia (no blue cones)#C6B1C00.079
Achromatopsia (no color)#B6B6B60.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBA7EE

    #CBA7EE

    oklch(78.5% 0.106 307.3)

  • #A6C67B

    #A6C67B

    oklch(78.5% 0.106 127.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBA7EE

    #CBA7EE

    oklch(78.5% 0.106 307.3)

  • #A8B3FC

    #A8B3FC

    oklch(78.5% 0.105 277.1)

  • #E59FD1

    #E59FD1

    oklch(78.5% 0.105 337.6)

Open the analogous palette in the generator

Split complementary

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

  • #CBA7EE

    #CBA7EE

    oklch(78.5% 0.106 307.3)

  • #CCBA67

    #CCBA67

    oklch(78.6% 0.106 97.4)

  • #7CCE9E

    #7CCE9E

    oklch(78.6% 0.106 157.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBA7EE

    #CBA7EE

    oklch(78.5% 0.106 307.3)

  • #E6AC6D

    #E6AC6D

    oklch(78.5% 0.105 67.6)

  • #5BCFC5

    #5BCFC5

    oklch(78.5% 0.106 187.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBA7EE

    #CBA7EE

    oklch(78.5% 0.106 307.3)

  • #F4A188

    #F4A188

    oklch(78.5% 0.106 37.5)

  • #A6C67B

    #A6C67B

    oklch(78.5% 0.106 127.5)

  • #5ECAE5

    #5ECAE5

    oklch(78.6% 0.106 216.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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