#C7AFEC

Closest named color: Pale Violet (#CEAEFA). oklch(79.5% 0.089 302.4), rgb(199, 175, 236).

Aa

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

About this color

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

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

Values

HEX#C7AFEC
RGBrgb(199, 175, 236)
HSLhsl(264, 62%, 81%)
OKLCHoklch(79.5% 0.089 302.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 #C7AFEC 1.94:1 Fails Lc -41.8 Non-text elements, placeholder text
Black text on #C7AFEC 10.77:1 AAA Lc 66.5 Content text, not long reading
#C7AFEC text on white 1.94:1 Fails Lc 37.4 Non-text elements, placeholder text
#C7AFEC text on black 10.77: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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #DFD2F5

    oklch(88.5% 0.049 302.3)

  4. Step 300

    300 (this color)

    #C7AFEC

    oklch(79.5% 0.089 302.4)

  5. Step 400

    400

    #B289E9

    oklch(70.7% 0.142 302.6)

  6. Step 500

    500

    #A068E2

    oklch(63.1% 0.181 302.7)

  7. Step 600

    600

    #8B4CD0

    oklch(55.6% 0.196 302.4)

  8. Step 700

    700

    #763CB4

    oklch(49.1% 0.182 302.3)

  9. Step 800

    800

    #603292

    oklch(42.7% 0.152 302.4)

  10. Step 900

    900

    #4E2E74

    oklch(37.7% 0.117 302.2)

  11. Step 950

    950

    #2E1B44

    oklch(26.9% 0.076 303.1)

Export this scale for Tailwind in the Tailwind colors tool

#C7AFEC 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)#A3B9EF0.052
Deuteranopia (no green cones)#A7B9EA0.049
Tritanopia (no blue cones)#C1B8C40.070
Achromatopsia (no color)#BABABA0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7AFEC

    #C7AFEC

    oklch(79.5% 0.089 302.4)

  • #B2C686

    #B2C686

    oklch(79.6% 0.088 122.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7AFEC

    #C7AFEC

    oklch(79.5% 0.089 302.4)

  • #A9B9F6

    #A9B9F6

    oklch(79.5% 0.089 272.9)

  • #DFA7D5

    #DFA7D5

    oklch(79.5% 0.089 332.7)

Open the analogous palette in the generator

Split complementary

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

  • #C7AFEC

    #C7AFEC

    oklch(79.5% 0.089 302.4)

  • #D0BB79

    #D0BB79

    oklch(79.5% 0.088 92.4)

  • #90CDA1

    #90CDA1

    oklch(79.5% 0.088 152.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7AFEC

    #C7AFEC

    oklch(79.5% 0.089 302.4)

  • #E6B081

    #E6B081

    oklch(79.6% 0.088 62.1)

  • #77CFC1

    #77CFC1

    oklch(79.5% 0.088 182.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7AFEC

    #C7AFEC

    oklch(79.5% 0.089 302.4)

  • #F0A898

    #F0A898

    oklch(79.7% 0.089 33)

  • #B2C686

    #B2C686

    oklch(79.6% 0.088 122.5)

  • #73CCDE

    #73CCDE

    oklch(79.6% 0.089 212.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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