#C7AFE4

Closest named color: Pale Violet (#CEAEFA). oklch(79.2% 0.078 305.3), rgb(199, 175, 228).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.68:1
White text1.96:1

Values

HEX#C7AFE4
RGBrgb(199, 175, 228)
HSLhsl(267, 50%, 79%)
OKLCHoklch(79.2% 0.078 305.3)

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 #C7AFE4 1.96:1 Fails Lc -42.3 Non-text elements, placeholder text
Black text on #C7AFE4 10.68:1 AAA Lc 66.0 Content text, not long reading
#C7AFE4 text on white 1.96:1 Fails Lc 37.9 Non-text elements, placeholder text
#C7AFE4 text on black 10.68:1 AAA Lc -64.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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F6

    oklch(93.5% 0.023 305.6)

  3. Step 200

    200

    #E0D2F1

    oklch(88.5% 0.045 305.9)

  4. Step 300

    300 (this color)

    #C7AFE4

    oklch(79.2% 0.078 305.3)

  5. Step 400

    400

    #B38CDF

    oklch(70.8% 0.125 305)

  6. Step 500

    500

    #A16CD5

    oklch(63.1% 0.16 305.6)

  7. Step 600

    600

    #8C51C3

    oklch(55.6% 0.175 305.3)

  8. Step 700

    700

    #7741A8

    oklch(49.1% 0.162 305.4)

  9. Step 800

    800

    #613688

    oklch(42.7% 0.134 305.6)

  10. Step 900

    900

    #4F306D

    oklch(37.7% 0.105 305.4)

  11. Step 950

    950

    #2E1D40

    oklch(27% 0.066 304.8)

Export this scale for Tailwind in the Tailwind colors tool

#C7AFE4 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)#A6B8E60.048
Deuteranopia (no green cones)#AAB9E20.046
Tritanopia (no blue cones)#C3B6C10.060
Achromatopsia (no color)#B9B9B90.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7AFE4

    #C7AFE4

    oklch(79.2% 0.078 305.3)

  • #AFC58E

    #AFC58E

    oklch(79.3% 0.078 125.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7AFE4

    #C7AFE4

    oklch(79.2% 0.078 305.3)

  • #ACB8EE

    #ACB8EE

    oklch(79.2% 0.078 274.8)

  • #DCA9CF

    #DCA9CF

    oklch(79.3% 0.078 335.7)

Open the analogous palette in the generator

Split complementary

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

  • #C7AFE4

    #C7AFE4

    oklch(79.2% 0.078 305.3)

  • #CBBB81

    #CBBB81

    oklch(79.2% 0.078 94.5)

  • #93CBA6

    #93CBA6

    oklch(79.3% 0.078 155.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7AFE4

    #C7AFE4

    oklch(79.2% 0.078 305.3)

  • #DFB286

    #DFB286

    oklch(79.4% 0.078 65.7)

  • #7FCCC2

    #7FCCC2

    oklch(79.2% 0.078 185.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7AFE4

    #C7AFE4

    oklch(79.2% 0.078 305.3)

  • #E9AA99

    #E9AA99

    oklch(79.3% 0.079 35.7)

  • #AFC58E

    #AFC58E

    oklch(79.3% 0.078 125.8)

  • #7EC8DB

    #7EC8DB

    oklch(79.1% 0.078 215.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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