#C7AFF5

Closest named color: Pale Violet (#CEAEFA). oklch(79.9% 0.1 299.9), rgb(199, 175, 245).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.87:1
White text1.93:1

Values

HEX#C7AFF5
RGBrgb(199, 175, 245)
HSLhsl(261, 78%, 82%)
OKLCHoklch(79.9% 0.1 299.9)

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 #C7AFF5 1.93:1 Fails Lc -41.3 Non-text elements, placeholder text
Black text on #C7AFF5 10.87:1 AAA Lc 67.0 Content text, not long reading
#C7AFF5 text on white 1.93:1 Fails Lc 36.9 Non-text elements, placeholder text
#C7AFF5 text on black 10.87:1 AAA Lc -65.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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #ECE6FB

    oklch(93.6% 0.029 298.9)

  3. Step 200

    200

    #DED1F9

    oklch(88.4% 0.056 300.1)

  4. Step 300

    300 (this color)

    #C7AFF5

    oklch(79.9% 0.1 299.9)

  5. Step 400

    400

    #B086F5

    oklch(70.6% 0.161 299.7)

  6. Step 500

    500

    #9E63F1

    oklch(63.1% 0.206 299.6)

  7. Step 600

    600

    #8A44DF

    oklch(55.6% 0.223 299.7)

  8. Step 700

    700

    #7633C2

    oklch(49.1% 0.208 300)

  9. Step 800

    800

    #602D9D

    oklch(42.8% 0.172 299.9)

  10. Step 900

    900

    #4E2A7D

    oklch(37.7% 0.135 299.9)

  11. Step 950

    950

    #2D1A49

    oklch(27% 0.084 299.3)

Export this scale for Tailwind in the Tailwind colors tool

#C7AFF5 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)#A0BAF80.056
Deuteranopia (no green cones)#A4BAF30.053
Tritanopia (no blue cones)#BFBAC80.080
Achromatopsia (no color)#BABABA0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7AFF5

    #C7AFF5

    oklch(79.9% 0.1 299.9)

  • #B5C77C

    #B5C77C

    oklch(79.8% 0.101 119.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7AFF5

    #C7AFF5

    oklch(79.9% 0.1 299.9)

  • #A4BBFF

    #A4BBFF

    oklch(80% 0.1 269.7)

  • #E2A6DD

    #E2A6DD

    oklch(79.9% 0.101 329.3)

Open the analogous palette in the generator

Split complementary

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

  • #C7AFF5

    #C7AFF5

    oklch(79.9% 0.1 299.9)

  • #D7BB6F

    #D7BB6F

    oklch(80% 0.101 89.8)

  • #8ED09B

    #8ED09B

    oklch(79.9% 0.1 149.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7AFF5

    #C7AFF5

    oklch(79.9% 0.1 299.9)

  • #EEAE7A

    #EEAE7A

    oklch(79.9% 0.101 59.7)

  • #6CD3C0

    #6CD3C0

    oklch(80% 0.101 180)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7AFF5

    #C7AFF5

    oklch(79.9% 0.1 299.9)

  • #F7A597

    #F7A597

    oklch(79.9% 0.1 30.1)

  • #B5C77C

    #B5C77C

    oklch(79.8% 0.101 119.7)

  • #66CFE1

    #66CFE1

    oklch(79.9% 0.1 210.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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