#CAB5F2

Closest named color: Light Violet (#D6B4FC). oklch(81.2% 0.087 300.2), rgb(202, 181, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.40:1
White text1.84:1

Values

HEX#CAB5F2
RGBrgb(202, 181, 242)
HSLhsl(261, 70%, 83%)
OKLCHoklch(81.2% 0.087 300.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 #CAB5F2 1.84:1 Fails Lc -38.7 Non-text elements, placeholder text
Black text on #CAB5F2 11.40:1 AAA Lc 69.3 Content text, not long reading
#CAB5F2 text on white 1.84:1 Fails Lc 34.6 Non-text elements, placeholder text
#CAB5F2 text on black 11.40:1 AAA Lc -68.0 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DED2F5

    oklch(88.4% 0.049 301)

  4. Step 300

    300 (this color)

    #CAB5F2

    oklch(81.2% 0.087 300.2)

  5. Step 400

    400

    #AF8BEA

    oklch(70.8% 0.139 300.3)

  6. Step 500

    500

    #9C6AE3

    oklch(63.1% 0.179 300.4)

  7. Step 600

    600

    #874ED1

    oklch(55.5% 0.194 300.2)

  8. Step 700

    700

    #733EB5

    oklch(49.1% 0.18 300.3)

  9. Step 800

    800

    #5D3493

    oklch(42.7% 0.15 299.9)

  10. Step 900

    900

    #4C2F75

    oklch(37.7% 0.116 300)

  11. Step 950

    950

    #2D1C44

    oklch(27% 0.073 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#CAB5F2 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)#A9BFF50.048
Deuteranopia (no green cones)#ACBFF00.047
Tritanopia (no blue cones)#C3BECA0.070
Achromatopsia (no color)#BFBFBF0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB5F2

    #CAB5F2

    oklch(81.2% 0.087 300.2)

  • #BACA8A

    #BACA8A

    oklch(81.1% 0.087 119.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB5F2

    #CAB5F2

    oklch(81.2% 0.087 300.2)

  • #ACBFFB

    #ACBFFB

    oklch(81.2% 0.088 270.8)

  • #E2ADDC

    #E2ADDC

    oklch(81.1% 0.087 330.2)

Open the analogous palette in the generator

Split complementary

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

  • #CAB5F2

    #CAB5F2

    oklch(81.2% 0.087 300.2)

  • #D7C07F

    #D7C07F

    oklch(81.2% 0.088 90.7)

  • #99D2A4

    #99D2A4

    oklch(81.2% 0.087 150)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB5F2

    #CAB5F2

    oklch(81.2% 0.087 300.2)

  • #ECB588

    #ECB588

    oklch(81.3% 0.087 60.4)

  • #7ED4C4

    #7ED4C4

    oklch(81.1% 0.087 180.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB5F2

    #CAB5F2

    oklch(81.2% 0.087 300.2)

  • #F5ADA0

    #F5ADA0

    oklch(81.3% 0.087 30.5)

  • #BACA8A

    #BACA8A

    oklch(81.1% 0.087 119.8)

  • #79D1E1

    #79D1E1

    oklch(81.1% 0.088 210.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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