#CAB7EC

Closest named color: Light Violet (#D6B4FC). oklch(81.3% 0.076 301.1), rgb(202, 183, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.49:1
White text1.82:1

Values

HEX#CAB7EC
RGBrgb(202, 183, 236)
HSLhsl(262, 58%, 82%)
OKLCHoklch(81.3% 0.076 301.1)

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 #CAB7EC 1.82:1 Fails Lc -38.3 Non-text elements, placeholder text
Black text on #CAB7EC 11.49:1 AAA Lc 69.7 Content text, not long reading
#CAB7EC text on white 1.82:1 Fails Lc 34.2 Non-text elements, placeholder text
#CAB7EC text on black 11.49:1 AAA Lc -68.4 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DED3F1

    oklch(88.5% 0.042 302.2)

  4. Step 300

    300 (this color)

    #CAB7EC

    oklch(81.3% 0.076 301.1)

  5. Step 400

    400

    #AE8EE0

    oklch(70.7% 0.121 301.3)

  6. Step 500

    500

    #9A6FD8

    oklch(63% 0.157 300.9)

  7. Step 600

    600

    #8655C5

    oklch(55.7% 0.17 301.3)

  8. Step 700

    700

    #7145AA

    oklch(49.1% 0.157 300.9)

  9. Step 800

    800

    #5C398A

    oklch(42.7% 0.131 300.9)

  10. Step 900

    900

    #4B326E

    oklch(37.6% 0.101 300.9)

  11. Step 950

    950

    #2C1E41

    oklch(27.1% 0.065 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#CAB7EC 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)#ADBFEE0.042
Deuteranopia (no green cones)#B0BFEA0.040
Tritanopia (no blue cones)#C5BFC90.061
Achromatopsia (no color)#C0C0C00.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB7EC

    #CAB7EC

    oklch(81.3% 0.076 301.1)

  • #BACA93

    #BACA93

    oklch(81.3% 0.076 121.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB7EC

    #CAB7EC

    oklch(81.3% 0.076 301.1)

  • #B0C0F4

    #B0C0F4

    oklch(81.4% 0.076 271.3)

  • #DFB0D9

    #DFB0D9

    oklch(81.2% 0.077 330.6)

Open the analogous palette in the generator

Split complementary

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

  • #CAB7EC

    #CAB7EC

    oklch(81.3% 0.076 301.1)

  • #D4C189

    #D4C189

    oklch(81.4% 0.076 91.5)

  • #9ED0A9

    #9ED0A9

    oklch(81.2% 0.076 151.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB7EC

    #CAB7EC

    oklch(81.3% 0.076 301.1)

  • #E7B790

    #E7B790

    oklch(81.3% 0.076 60.5)

  • #89D3C5

    #89D3C5

    oklch(81.4% 0.077 181)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB7EC

    #CAB7EC

    oklch(81.3% 0.076 301.1)

  • #EFB0A4

    #EFB0A4

    oklch(81.3% 0.076 30.9)

  • #BACA93

    #BACA93

    oklch(81.3% 0.076 121.3)

  • #86D0DE

    #86D0DE

    oklch(81.4% 0.076 210.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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