#CFABF7

Closest named color: Pale Violet (#CEAEFA). oklch(80% 0.112 305.7), rgb(207, 171, 247).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.82:1
White text1.94:1

Values

HEX#CFABF7
RGBrgb(207, 171, 247)
HSLhsl(268, 83%, 82%)
OKLCHoklch(80% 0.112 305.7)

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 #CFABF7 1.94:1 Fails Lc -41.5 Non-text elements, placeholder text
Black text on #CFABF7 10.82:1 AAA Lc 66.7 Content text, not long reading
#CFABF7 text on white 1.94:1 Fails Lc 37.2 Non-text elements, placeholder text
#CFABF7 text on black 10.82:1 AAA Lc -65.3 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE5FC

    oklch(93.7% 0.032 305.3)

  3. Step 200

    200

    #E3CFFA

    oklch(88.4% 0.062 306.2)

  4. Step 300

    300 (this color)

    #CFABF7

    oklch(80% 0.112 305.7)

  5. Step 400

    400

    #BC7FF8

    oklch(70.8% 0.179 305.6)

  6. Step 500

    500

    #AC57F4

    oklch(63.2% 0.228 305.7)

  7. Step 600

    600

    #9831E3

    oklch(55.6% 0.249 305.7)

  8. Step 700

    700

    #8220C5

    oklch(49.2% 0.231 305.8)

  9. Step 800

    800

    #691F9F

    oklch(42.6% 0.191 305.6)

  10. Step 900

    900

    #55227E

    oklch(37.6% 0.149 305.7)

  11. Step 950

    950

    #32164A

    oklch(27% 0.094 305.8)

Export this scale for Tailwind in the Tailwind colors tool

#CFABF7 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)#9CB9FA0.074
Deuteranopia (no green cones)#A3BAF50.069
Tritanopia (no blue cones)#C9B6C60.085
Achromatopsia (no color)#BABABA0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFABF7

    #CFABF7

    oklch(80% 0.112 305.7)

  • #ACCB7A

    #ACCB7A

    oklch(80% 0.112 125.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFABF7

    #CFABF7

    oklch(80% 0.112 305.7)

  • #ABB8FF

    #ABB8FF

    oklch(79.9% 0.102 275.9)

  • #EBA2D9

    #EBA2D9

    oklch(80% 0.111 335.9)

Open the analogous palette in the generator

Split complementary

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

  • #CFABF7

    #CFABF7

    oklch(80% 0.112 305.7)

  • #D3BD65

    #D3BD65

    oklch(79.9% 0.112 95.6)

  • #7FD39F

    #7FD39F

    oklch(79.9% 0.111 155.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFABF7

    #CFABF7

    oklch(80% 0.112 305.7)

  • #EFAF6D

    #EFAF6D

    oklch(80% 0.112 65.9)

  • #59D5C8

    #59D5C8

    oklch(80% 0.112 185.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFABF7

    #CFABF7

    oklch(80% 0.112 305.7)

  • #FCA38C

    #FCA38C

    oklch(79.9% 0.111 35.2)

  • #ACCB7A

    #ACCB7A

    oklch(80% 0.112 125.9)

  • #5AD0EB

    #5AD0EB

    oklch(80.1% 0.111 215.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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