#CAB7EB

Closest named color: Light Violet (#D6B4FC). oklch(81.3% 0.075 301.5), rgb(202, 183, 235).

Aa

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

About this color

#CAB7EB is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.075 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.033 away. Black text reads best on it, at 11.48:1.

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

Values

HEX#CAB7EB
RGBrgb(202, 183, 235)
HSLhsl(262, 57%, 82%)
OKLCHoklch(81.3% 0.075 301.5)

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

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3F1

    oklch(88.5% 0.042 302.2)

  4. Step 300

    300 (this color)

    #CAB7EB

    oklch(81.3% 0.075 301.5)

  5. Step 400

    400

    #AE8EDF

    oklch(70.7% 0.12 301.6)

  6. Step 500

    500

    #9B70D6

    oklch(63.2% 0.153 301.6)

  7. Step 600

    600

    #8656C3

    oklch(55.7% 0.166 301.6)

  8. Step 700

    700

    #7145A9

    oklch(49.1% 0.155 301.1)

  9. Step 800

    800

    #5C3A89

    oklch(42.8% 0.128 301)

  10. Step 900

    900

    #4B326D

    oklch(37.6% 0.1 301.3)

  11. Step 950

    950

    #2C1E40

    oklch(27% 0.063 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#CAB7EB 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)#ADBFED0.042
Deuteranopia (no green cones)#B0BFE90.040
Tritanopia (no blue cones)#C5BEC90.058
Achromatopsia (no color)#C0C0C00.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB7EB

    #CAB7EB

    oklch(81.3% 0.075 301.5)

  • #BACA94

    #BACA94

    oklch(81.3% 0.075 121.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB7EB

    #CAB7EB

    oklch(81.3% 0.075 301.5)

  • #B0C0F3

    #B0C0F3

    oklch(81.3% 0.074 271.1)

  • #DFB1D8

    #DFB1D8

    oklch(81.4% 0.074 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #CAB7EB

    #CAB7EB

    oklch(81.3% 0.075 301.5)

  • #D3C18A

    #D3C18A

    oklch(81.3% 0.075 92.1)

  • #9ED0AA

    #9ED0AA

    oklch(81.2% 0.075 151.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB7EB

    #CAB7EB

    oklch(81.3% 0.075 301.5)

  • #E6B790

    #E6B790

    oklch(81.2% 0.075 61.1)

  • #8AD2C5

    #8AD2C5

    oklch(81.3% 0.075 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB7EB

    #CAB7EB

    oklch(81.3% 0.075 301.5)

  • #EEB0A4

    #EEB0A4

    oklch(81.2% 0.075 31.1)

  • #BACA94

    #BACA94

    oklch(81.3% 0.075 121.5)

  • #87CFDE

    #87CFDE

    oklch(81.2% 0.075 212.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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