#C7AFEE

Closest named color: Pale Violet (#CEAEFA). oklch(79.6% 0.091 301.8), rgb(199, 175, 238).

Aa

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

About this color

#C7AFEE is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.091 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.021 away. Black text reads best on it, at 10.79:1.

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

Values

HEX#C7AFEE
RGBrgb(199, 175, 238)
HSLhsl(263, 65%, 81%)
OKLCHoklch(79.6% 0.091 301.8)

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 #C7AFEE 1.94:1 Fails Lc -41.7 Non-text elements, placeholder text
Black text on #C7AFEE 10.79:1 AAA Lc 66.6 Content text, not long reading
#C7AFEE text on white 1.94:1 Fails Lc 37.3 Non-text elements, placeholder text
#C7AFEE text on black 10.79:1 AAA Lc -65.1 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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #DFD2F6

    oklch(88.5% 0.051 301.8)

  4. Step 300

    300 (this color)

    #C7AFEE

    oklch(79.6% 0.091 301.8)

  5. Step 400

    400

    #B289EC

    oklch(70.8% 0.146 301.9)

  6. Step 500

    500

    #9F67E6

    oklch(63.1% 0.187 301.6)

  7. Step 600

    600

    #8B4AD3

    oklch(55.6% 0.202 302)

  8. Step 700

    700

    #763AB7

    oklch(49.1% 0.188 301.8)

  9. Step 800

    800

    #603194

    oklch(42.7% 0.156 301.9)

  10. Step 900

    900

    #4E2D76

    oklch(37.7% 0.121 301.7)

  11. Step 950

    950

    #2E1B45

    oklch(27% 0.077 302.4)

Export this scale for Tailwind in the Tailwind colors tool

#C7AFEE 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)#A2B9F10.053
Deuteranopia (no green cones)#A6BAEC0.051
Tritanopia (no blue cones)#C1B8C50.071
Achromatopsia (no color)#BABABA0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7AFEE

    #C7AFEE

    oklch(79.6% 0.091 301.8)

  • #B3C684

    #B3C684

    oklch(79.6% 0.09 121.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7AFEE

    #C7AFEE

    oklch(79.6% 0.091 301.8)

  • #A8BAF8

    #A8BAF8

    oklch(79.8% 0.091 271.7)

  • #E0A7D7

    #E0A7D7

    oklch(79.6% 0.092 332)

Open the analogous palette in the generator

Split complementary

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

  • #C7AFEE

    #C7AFEE

    oklch(79.6% 0.091 301.8)

  • #D2BB77

    #D2BB77

    oklch(79.6% 0.091 91.4)

  • #90CEA0

    #90CEA0

    oklch(79.7% 0.091 152)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7AFEE

    #C7AFEE

    oklch(79.6% 0.091 301.8)

  • #E7B07F

    #E7B07F

    oklch(79.7% 0.091 62.6)

  • #74D0C1

    #74D0C1

    oklch(79.6% 0.091 182.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7AFEE

    #C7AFEE

    oklch(79.6% 0.091 301.8)

  • #F1A798

    #F1A798

    oklch(79.6% 0.091 31.9)

  • #B3C684

    #B3C684

    oklch(79.6% 0.09 121.5)

  • #71CCDE

    #71CCDE

    oklch(79.5% 0.091 211.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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