#CFA5EC

Closest named color: Pale Violet (#CEAEFA). oklch(78.4% 0.108 311), rgb(207, 165, 236).

Aa

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

About this color

#CFA5EC is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.108 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.026 away. Black text reads best on it, at 10.24:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.24:1
White text2.04:1

Values

HEX#CFA5EC
RGBrgb(207, 165, 236)
HSLhsl(275, 65%, 79%)
OKLCHoklch(78.4% 0.108 311)

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 #CFA5EC 2.04:1 Fails Lc -44.4 Non-text elements, placeholder text
Black text on #CFA5EC 10.24:1 AAA Lc 64.1 Content text, not long reading
#CFA5EC text on white 2.04:1 Fails Lc 39.9 Non-text elements, placeholder text
#CFA5EC text on black 10.24:1 AAA Lc -62.5 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FA

    oklch(93.6% 0.032 311.7)

  3. Step 200

    200

    #E6CFF7

    oklch(88.6% 0.059 310.8)

  4. Step 300

    300 (this color)

    #CFA5EC

    oklch(78.4% 0.108 311)

  5. Step 400

    400

    #C37DEF

    oklch(70.7% 0.174 311)

  6. Step 500

    500

    #B355E9

    oklch(63% 0.221 310.9)

  7. Step 600

    600

    #9F31D7

    oklch(55.6% 0.24 310.9)

  8. Step 700

    700

    #8820BA

    oklch(49.1% 0.223 311)

  9. Step 800

    800

    #6F1F97

    oklch(42.8% 0.185 311.1)

  10. Step 900

    900

    #592278

    oklch(37.7% 0.143 310.6)

  11. Step 950

    950

    #341546

    oklch(26.9% 0.091 310.9)

Export this scale for Tailwind in the Tailwind colors tool

#CFA5EC 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)#99B3EF0.079
Deuteranopia (no green cones)#A2B6EA0.073
Tritanopia (no blue cones)#CCAEBF0.076
Achromatopsia (no color)#B5B5B50.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA5EC

    #CFA5EC

    oklch(78.4% 0.108 311)

  • #A0C77D

    #A0C77D

    oklch(78.4% 0.108 131.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA5EC

    #CFA5EC

    oklch(78.4% 0.108 311)

  • #ACB1FD

    #ACB1FD

    oklch(78.5% 0.108 280.7)

  • #E89DCD

    #E89DCD

    oklch(78.4% 0.108 341.1)

Open the analogous palette in the generator

Split complementary

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

  • #CFA5EC

    #CFA5EC

    oklch(78.4% 0.108 311)

  • #C8BB66

    #C8BB66

    oklch(78.5% 0.108 100.7)

  • #75CEA2

    #75CEA2

    oklch(78.3% 0.108 161)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA5EC

    #CFA5EC

    oklch(78.4% 0.108 311)

  • #E5AD68

    #E5AD68

    oklch(78.5% 0.109 70.9)

  • #55CFC9

    #55CFC9

    oklch(78.5% 0.108 190.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA5EC

    #CFA5EC

    oklch(78.4% 0.108 311)

  • #F4A183

    #F4A183

    oklch(78.4% 0.108 40.6)

  • #A0C77D

    #A0C77D

    oklch(78.4% 0.108 131.1)

  • #5EC9E9

    #5EC9E9

    oklch(78.5% 0.108 220.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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