#C7AFFE

Closest named color: Pale Violet (#CEAEFA). oklch(80.3% 0.112 297.8), rgb(199, 175, 254).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.99:1
White text1.91:1

Values

HEX#C7AFFE
RGBrgb(199, 175, 254)
HSLhsl(258, 98%, 84%)
OKLCHoklch(80.3% 0.112 297.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 #C7AFFE 1.91:1 Fails Lc -40.7 Non-text elements, placeholder text
Black text on #C7AFFE 10.99:1 AAA Lc 67.5 Content text, not long reading
#C7AFFE text on white 1.91:1 Fails Lc 36.4 Non-text elements, placeholder text
#C7AFFE text on black 10.99:1 AAA Lc -66.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

    #F6F3FF

    oklch(97% 0.016 297.5)

  2. Step 100

    100

    #ECE6FD

    oklch(93.6% 0.031 297.7)

  3. Step 200

    200

    #DDD1FE

    oklch(88.5% 0.063 297.3)

  4. Step 300

    300 (this color)

    #C7AFFE

    oklch(80.3% 0.112 297.8)

  5. Step 400

    400

    #AF84FF

    oklch(70.7% 0.177 297.9)

  6. Step 500

    500

    #9D5DFF

    oklch(63.1% 0.229 297.6)

  7. Step 600

    600

    #8A39EE

    oklch(55.6% 0.25 297.9)

  8. Step 700

    700

    #7528CF

    oklch(49% 0.232 297.7)

  9. Step 800

    800

    #5F25A8

    oklch(42.7% 0.193 297.6)

  10. Step 900

    900

    #4D2685

    oklch(37.7% 0.15 297.5)

  11. Step 950

    950

    #2D184E

    oklch(27.1% 0.095 297.6)

Export this scale for Tailwind in the Tailwind colors tool

#C7AFFE 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)#9DBCFF0.061
Deuteranopia (no green cones)#A0BBFC0.058
Tritanopia (no blue cones)#BDBCCB0.092
Achromatopsia (no color)#BBBBBB0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7AFFE

    #C7AFFE

    oklch(80.3% 0.112 297.8)

  • #B8C973

    #B8C973

    oklch(80.4% 0.112 118.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7AFFE

    #C7AFFE

    oklch(80.3% 0.112 297.8)

  • #A3BDFF

    #A3BDFF

    oklch(80.3% 0.098 267.6)

  • #E6A5E4

    #E6A5E4

    oklch(80.4% 0.112 327.6)

Open the analogous palette in the generator

Split complementary

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

  • #C7AFFE

    #C7AFFE

    oklch(80.3% 0.112 297.8)

  • #DDBA65

    #DDBA65

    oklch(80.2% 0.112 87.4)

  • #8CD395

    #8CD395

    oklch(80.4% 0.112 147.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7AFFE

    #C7AFFE

    oklch(80.3% 0.112 297.8)

  • #F5AC74

    #F5AC74

    oklch(80.2% 0.112 57.8)

  • #61D6BE

    #61D6BE

    oklch(80.2% 0.112 177.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7AFFE

    #C7AFFE

    oklch(80.3% 0.112 297.8)

  • #FFA296

    #FFA296

    oklch(80.3% 0.113 27.8)

  • #B8C973

    #B8C973

    oklch(80.4% 0.112 118.2)

  • #55D3E4

    #55D3E4

    oklch(80.4% 0.112 207.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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