#CFA7F2

Closest named color: Pale Violet (#CEAEFA). oklch(79% 0.112 308.4), rgb(207, 167, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.46:1
White text2.00:1

Values

HEX#CFA7F2
RGBrgb(207, 167, 242)
HSLhsl(272, 74%, 80%)
OKLCHoklch(79% 0.112 308.4)

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 #CFA7F2 2.00:1 Fails Lc -43.3 Non-text elements, placeholder text
Black text on #CFA7F2 10.46:1 AAA Lc 65.1 Content text, not long reading
#CFA7F2 text on white 2.00:1 Fails Lc 38.8 Non-text elements, placeholder text
#CFA7F2 text on black 10.46:1 AAA Lc -63.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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E4FB

    oklch(93.5% 0.033 309)

  3. Step 200

    200

    #E5CFF9

    oklch(88.6% 0.061 308.7)

  4. Step 300

    300 (this color)

    #CFA7F2

    oklch(79% 0.112 308.4)

  5. Step 400

    400

    #C07DF5

    oklch(70.7% 0.18 308.2)

  6. Step 500

    500

    #B154F0

    oklch(63.1% 0.229 308.6)

  7. Step 600

    600

    #9C2EDF

    oklch(55.6% 0.249 308.2)

  8. Step 700

    700

    #861CC1

    oklch(49.1% 0.231 308.6)

  9. Step 800

    800

    #6D1D9C

    oklch(42.8% 0.191 308.7)

  10. Step 900

    900

    #58217C

    oklch(37.7% 0.149 308.5)

  11. Step 950

    950

    #331549

    oklch(26.9% 0.095 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#CFA7F2 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)#99B5F50.078
Deuteranopia (no green cones)#A2B8F00.073
Tritanopia (no blue cones)#CBB1C20.082
Achromatopsia (no color)#B7B7B70.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA7F2

    #CFA7F2

    oklch(79% 0.112 308.4)

  • #A5C979

    #A5C979

    oklch(79.1% 0.113 128.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA7F2

    #CFA7F2

    oklch(79% 0.112 308.4)

  • #ABB4FF

    #ABB4FF

    oklch(79.1% 0.107 278.4)

  • #EA9ED3

    #EA9ED3

    oklch(79% 0.112 338.5)

Open the analogous palette in the generator

Split complementary

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

  • #CFA7F2

    #CFA7F2

    oklch(79% 0.112 308.4)

  • #CDBC63

    #CDBC63

    oklch(79.1% 0.112 98.7)

  • #78D1A0

    #78D1A0

    oklch(79.1% 0.112 158.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA7F2

    #CFA7F2

    oklch(79% 0.112 308.4)

  • #EAAD68

    #EAAD68

    oklch(79.1% 0.112 68.4)

  • #53D2C8

    #53D2C8

    oklch(79.1% 0.112 187.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA7F2

    #CFA7F2

    oklch(79% 0.112 308.4)

  • #F9A185

    #F9A185

    oklch(79% 0.113 38.4)

  • #A5C979

    #A5C979

    oklch(79.1% 0.113 128.5)

  • #58CCEB

    #58CCEB

    oklch(79.1% 0.112 218.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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