#C7AFE2

Closest named color: Pale Violet (#CEAEFA). oklch(79.2% 0.076 306.1), rgb(199, 175, 226).

Aa

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

About this color

#C7AFE2 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.076 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.038 away. Black text reads best on it, at 10.65:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.65:1
White text1.97:1

Values

HEX#C7AFE2
RGBrgb(199, 175, 226)
HSLhsl(268, 47%, 79%)
OKLCHoklch(79.2% 0.076 306.1)

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 #C7AFE2 1.97:1 Fails Lc -42.4 Non-text elements, placeholder text
Black text on #C7AFE2 10.65:1 AAA Lc 65.9 Content text, not long reading
#C7AFE2 text on white 1.97:1 Fails Lc 38.0 Non-text elements, placeholder text
#C7AFE2 text on black 10.65:1 AAA Lc -64.4 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F6

    oklch(93.5% 0.023 305.6)

  3. Step 200

    200

    #E0D3F0

    oklch(88.6% 0.042 305.8)

  4. Step 300

    300 (this color)

    #C7AFE2

    oklch(79.2% 0.076 306.1)

  5. Step 400

    400

    #B38CDC

    oklch(70.7% 0.121 305.9)

  6. Step 500

    500

    #A16DD2

    oklch(63.1% 0.154 306.2)

  7. Step 600

    600

    #8C53BF

    oklch(55.6% 0.167 306.1)

  8. Step 700

    700

    #7742A5

    oklch(49% 0.157 306.1)

  9. Step 800

    800

    #613786

    oklch(42.7% 0.13 306.2)

  10. Step 900

    900

    #4F316B

    oklch(37.7% 0.1 306.1)

  11. Step 950

    950

    #2E1D3F

    oklch(27% 0.064 305.6)

Export this scale for Tailwind in the Tailwind colors tool

#C7AFE2 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)#A6B8E40.048
Deuteranopia (no green cones)#ABB9E00.045
Tritanopia (no blue cones)#C3B6C10.057
Achromatopsia (no color)#B9B9B90.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7AFE2

    #C7AFE2

    oklch(79.2% 0.076 306.1)

  • #AFC490

    #AFC490

    oklch(79.1% 0.074 125.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7AFE2

    #C7AFE2

    oklch(79.2% 0.076 306.1)

  • #ADB8EC

    #ADB8EC

    oklch(79.2% 0.075 275.3)

  • #DBA9CE

    #DBA9CE

    oklch(79.2% 0.076 335.8)

Open the analogous palette in the generator

Split complementary

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

  • #C7AFE2

    #C7AFE2

    oklch(79.2% 0.076 306.1)

  • #C9BB83

    #C9BB83

    oklch(79% 0.075 95.8)

  • #93CAA7

    #93CAA7

    oklch(79.1% 0.076 156.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7AFE2

    #C7AFE2

    oklch(79.2% 0.076 306.1)

  • #DDB287

    #DDB287

    oklch(79.2% 0.076 66.4)

  • #81CBC2

    #81CBC2

    oklch(79.1% 0.075 186.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7AFE2

    #C7AFE2

    oklch(79.2% 0.076 306.1)

  • #E7AA9A

    #E7AA9A

    oklch(79.1% 0.076 35.2)

  • #AFC490

    #AFC490

    oklch(79.1% 0.074 125.9)

  • #81C8DA

    #81C8DA

    oklch(79.2% 0.075 215.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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