#CFABF2

Closest named color: Pale Violet (#CEAEFA). oklch(79.8% 0.105 307.3), rgb(207, 171, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.76:1
White text1.95:1

Values

HEX#CFABF2
RGBrgb(207, 171, 242)
HSLhsl(270, 73%, 81%)
OKLCHoklch(79.8% 0.105 307.3)

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 #CFABF2 1.95:1 Fails Lc -41.8 Non-text elements, placeholder text
Black text on #CFABF2 10.76:1 AAA Lc 66.4 Content text, not long reading
#CFABF2 text on white 1.95:1 Fails Lc 37.5 Non-text elements, placeholder text
#CFABF2 text on black 10.76:1 AAA Lc -65.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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5FA

    oklch(93.6% 0.03 307.1)

  3. Step 200

    200

    #E3D0F8

    oklch(88.6% 0.058 306.7)

  4. Step 300

    300 (this color)

    #CFABF2

    oklch(79.8% 0.105 307.3)

  5. Step 400

    400

    #BD80F1

    oklch(70.7% 0.169 307.5)

  6. Step 500

    500

    #AC5AEC

    oklch(63% 0.215 307.1)

  7. Step 600

    600

    #9838DA

    oklch(55.6% 0.234 307.2)

  8. Step 700

    700

    #8228BD

    oklch(49.1% 0.217 307.3)

  9. Step 800

    800

    #6A2499

    oklch(42.7% 0.18 307.5)

  10. Step 900

    900

    #56257A

    oklch(37.8% 0.14 307.4)

  11. Step 950

    950

    #321747

    oklch(27% 0.088 307.4)

Export this scale for Tailwind in the Tailwind colors tool

#CFABF2 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)#9EB8F50.071
Deuteranopia (no green cones)#A5BAF00.067
Tritanopia (no blue cones)#CAB5C40.079
Achromatopsia (no color)#B9B9B90.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFABF2

    #CFABF2

    oklch(79.8% 0.105 307.3)

  • #AACA7F

    #AACA7F

    oklch(79.8% 0.106 127.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFABF2

    #CFABF2

    oklch(79.8% 0.105 307.3)

  • #ACB7FF

    #ACB7FF

    oklch(79.7% 0.103 277.1)

  • #E9A3D5

    #E9A3D5

    oklch(79.8% 0.104 337.5)

Open the analogous palette in the generator

Split complementary

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

  • #CFABF2

    #CFABF2

    oklch(79.8% 0.105 307.3)

  • #D0BE6B

    #D0BE6B

    oklch(79.9% 0.106 97.4)

  • #80D2A2

    #80D2A2

    oklch(79.8% 0.106 157.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFABF2

    #CFABF2

    oklch(79.8% 0.105 307.3)

  • #EAB071

    #EAB071

    oklch(79.7% 0.105 67.7)

  • #60D3C9

    #60D3C9

    oklch(79.8% 0.105 187.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFABF2

    #CFABF2

    oklch(79.8% 0.105 307.3)

  • #F8A58C

    #F8A58C

    oklch(79.8% 0.105 37.5)

  • #AACA7F

    #AACA7F

    oklch(79.8% 0.106 127.4)

  • #63CEE9

    #63CEE9

    oklch(79.8% 0.105 216.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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