#CBA7EF

Closest named color: Pale Violet (#CEAEFA). oklch(78.6% 0.107 306.9), rgb(203, 167, 239).

Aa

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

About this color

#CBA7EF is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.107 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.021 away. Black text reads best on it, at 10.31:1.

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

Values

HEX#CBA7EF
RGBrgb(203, 167, 239)
HSLhsl(270, 69%, 80%)
OKLCHoklch(78.6% 0.107 306.9)

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 #CBA7EF 2.03:1 Fails Lc -44.1 Non-text elements, placeholder text
Black text on #CBA7EF 10.31:1 AAA Lc 64.4 Content text, not long reading
#CBA7EF text on white 2.03:1 Fails Lc 39.6 Non-text elements, placeholder text
#CBA7EF text on black 10.31:1 AAA Lc -62.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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5FB

    oklch(93.6% 0.031 306.2)

  3. Step 200

    200

    #E3CFF9

    oklch(88.4% 0.061 306.7)

  4. Step 300

    300 (this color)

    #CBA7EF

    oklch(78.6% 0.107 306.9)

  5. Step 400

    400

    #BD80F3

    oklch(70.8% 0.172 307)

  6. Step 500

    500

    #AC59EE

    oklch(63% 0.219 306.8)

  7. Step 600

    600

    #9836DC

    oklch(55.5% 0.238 306.9)

  8. Step 700

    700

    #8226BF

    oklch(49.1% 0.221 306.9)

  9. Step 800

    800

    #6A239B

    oklch(42.8% 0.183 307)

  10. Step 900

    900

    #56247B

    oklch(37.7% 0.143 307.2)

  11. Step 950

    950

    #321748

    oklch(27% 0.09 306.8)

Export this scale for Tailwind in the Tailwind colors tool

#CBA7EF 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)#9AB4F20.071
Deuteranopia (no green cones)#A1B6ED0.067
Tritanopia (no blue cones)#C6B1C10.079
Achromatopsia (no color)#B6B6B60.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBA7EF

    #CBA7EF

    oklch(78.6% 0.107 306.9)

  • #A7C67A

    #A7C67A

    oklch(78.6% 0.107 126.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBA7EF

    #CBA7EF

    oklch(78.6% 0.107 306.9)

  • #A7B3FD

    #A7B3FD

    oklch(78.5% 0.106 276.6)

  • #E59FD2

    #E59FD2

    oklch(78.6% 0.106 336.9)

Open the analogous palette in the generator

Split complementary

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

  • #CBA7EF

    #CBA7EF

    oklch(78.6% 0.107 306.9)

  • #CCB966

    #CCB966

    oklch(78.4% 0.106 96.8)

  • #7CCE9E

    #7CCE9E

    oklch(78.6% 0.106 157.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBA7EF

    #CBA7EF

    oklch(78.6% 0.107 306.9)

  • #E7AC6C

    #E7AC6C

    oklch(78.6% 0.107 67.5)

  • #5ACFC4

    #5ACFC4

    oklch(78.5% 0.107 186.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBA7EF

    #CBA7EF

    oklch(78.6% 0.107 306.9)

  • #F5A188

    #F5A188

    oklch(78.6% 0.107 37.3)

  • #A7C67A

    #A7C67A

    oklch(78.6% 0.107 126.8)

  • #5CCAE6

    #5CCAE6

    oklch(78.6% 0.107 217.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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