#CAC7EF

Closest named color: Light Periwinkle (#C1C6FC). oklch(84.5% 0.055 288.6), rgb(202, 199, 239).

Aa

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

About this color

#CAC7EF is a light, muted purple. In OKLCH its lightness is 85%, its chroma 0.055 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Light Periwinkle (#C1C6FC), ΔE 0.022 away. Black text reads best on it, at 12.92:1.

Hue familyPurples
Lightnesslight (85%)
Chromamuted (0.055)
Temperaturecool
Nearest nameLight Periwinkle (#C1C6FC)
Black text12.92:1
White text1.62:1

Values

HEX#CAC7EF
RGBrgb(202, 199, 239)
HSLhsl(244, 56%, 86%)
OKLCHoklch(84.5% 0.055 288.6)

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 #CAC7EF 1.62:1 Fails Lc -31.5 Non-text elements, placeholder text
Black text on #CAC7EF 12.92:1 AAA Lc 75.9 Fine for body text
#CAC7EF text on white 1.62:1 Fails Lc 27.9 Dividers and decoration only
#CAC7EF text on black 12.92:1 AAA Lc -75.0 Fine for body text

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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D8D6ED

    oklch(88.5% 0.031 289.7)

  4. Step 300

    300 (this color)

    #CAC7EF

    oklch(84.5% 0.055 288.6)

  5. Step 400

    400

    #9E98D5

    oklch(70.7% 0.088 288.4)

  6. Step 500

    500

    #877DCA

    oklch(63.1% 0.114 288.6)

  7. Step 600

    600

    #7165B6

    oklch(55.5% 0.123 288.5)

  8. Step 700

    700

    #5F549D

    oklch(49.1% 0.114 288.4)

  9. Step 800

    800

    #4E457F

    oklch(42.7% 0.094 288.9)

  10. Step 900

    900

    #403A66

    oklch(37.6% 0.074 288.6)

  11. Step 950

    950

    #26223C

    oklch(27% 0.048 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#CAC7EF 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)#BECCF10.019
Deuteranopia (no green cones)#BDCAEE0.019
Tritanopia (no blue cones)#C3CDD40.048
Achromatopsia (no color)#CBCBCB0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAC7EF

    #CAC7EF

    oklch(84.5% 0.055 288.6)

  • #CFD0A6

    #CFD0A6

    oklch(84.6% 0.056 108.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAC7EF

    #CAC7EF

    oklch(84.5% 0.055 288.6)

  • #B7CEF1

    #B7CEF1

    oklch(84.6% 0.055 258.7)

  • #DCC1E4

    #DCC1E4

    oklch(84.5% 0.056 318.4)

Open the analogous palette in the generator

Split complementary

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

  • #CAC7EF

    #CAC7EF

    oklch(84.5% 0.055 288.6)

  • #E0C9A4

    #E0C9A4

    oklch(84.6% 0.056 79.6)

  • #BBD5B3

    #BBD5B3

    oklch(84.5% 0.054 138.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAC7EF

    #CAC7EF

    oklch(84.5% 0.055 288.6)

  • #EBC2AD

    #EBC2AD

    oklch(84.4% 0.055 48.6)

  • #A9D8C6

    #A9D8C6

    oklch(84.4% 0.055 169.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAC7EF

    #CAC7EF

    oklch(84.5% 0.055 288.6)

  • #EEBEBE

    #EEBEBE

    oklch(84.4% 0.055 18.3)

  • #CFD0A6

    #CFD0A6

    oklch(84.6% 0.056 108.7)

  • #A2D8DA

    #A2D8DA

    oklch(84.6% 0.056 199)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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