#CAB7FF

Closest named color: Light Violet (#D6B4FC). oklch(82.1% 0.102 296.2), rgb(202, 183, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.72:1
White text1.79:1

Values

HEX#CAB7FF
RGBrgb(202, 183, 255)
HSLhsl(256, 100%, 86%)
OKLCHoklch(82.1% 0.102 296.2)

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 #CAB7FF 1.79:1 Fails Lc -37.1 Non-text elements, placeholder text
Black text on #CAB7FF 11.72:1 AAA Lc 70.8 Content text, not long reading
#CAB7FF text on white 1.79:1 Fails Lc 33.1 Non-text elements, placeholder text
#CAB7FF text on black 11.72:1 AAA Lc -69.6 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FC

    oklch(93.5% 0.03 296.2)

  3. Step 200

    200

    #DCD2FB

    oklch(88.5% 0.057 296.4)

  4. Step 300

    300 (this color)

    #CAB7FF

    oklch(82.1% 0.102 296.2)

  5. Step 400

    400

    #AB88F9

    oklch(70.7% 0.163 296.3)

  6. Step 500

    500

    #9865F6

    oklch(63.1% 0.208 296.1)

  7. Step 600

    600

    #8446E4

    oklch(55.6% 0.225 296.2)

  8. Step 700

    700

    #7035C7

    oklch(49.1% 0.211 296.1)

  9. Step 800

    800

    #5B2EA1

    oklch(42.7% 0.174 296.1)

  10. Step 900

    900

    #4A2B7F

    oklch(37.6% 0.135 296.3)

  11. Step 950

    950

    #2B1A4B

    oklch(26.9% 0.087 296)

Export this scale for Tailwind in the Tailwind colors tool

#CAB7FF 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)#A6C2FF0.053
Deuteranopia (no green cones)#A9C1FD0.049
Tritanopia (no blue cones)#C0C2D00.083
Achromatopsia (no color)#C2C2C20.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB7FF

    #CAB7FF

    oklch(82.1% 0.102 296.2)

  • #C0CD7F

    #C0CD7F

    oklch(82% 0.102 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB7FF

    #CAB7FF

    oklch(82.1% 0.102 296.2)

  • #AAC3FF

    #AAC3FF

    oklch(82% 0.089 266.9)

  • #E7ADE8

    #E7ADE8

    oklch(82% 0.103 325.9)

Open the analogous palette in the generator

Split complementary

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

  • #CAB7FF

    #CAB7FF

    oklch(82.1% 0.102 296.2)

  • #E1C075

    #E1C075

    oklch(82% 0.101 86.5)

  • #99D69D

    #99D69D

    oklch(82% 0.101 146.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB7FF

    #CAB7FF

    oklch(82.1% 0.102 296.2)

  • #F7B383

    #F7B383

    oklch(82% 0.101 56)

  • #75DAC2

    #75DAC2

    oklch(82% 0.102 176.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB7FF

    #CAB7FF

    oklch(82.1% 0.102 296.2)

  • #FFABA2

    #FFABA2

    oklch(82.1% 0.101 26.2)

  • #C0CD7F

    #C0CD7F

    oklch(82% 0.102 116.4)

  • #6AD7E5

    #6AD7E5

    oklch(82% 0.102 206.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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