#C7AFFD

Closest named color: Pale Violet (#CEAEFA). oklch(80.3% 0.111 298), rgb(199, 175, 253).

Aa

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

About this color

#C7AFFD is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.111 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.97:1.

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

Values

HEX#C7AFFD
RGBrgb(199, 175, 253)
HSLhsl(258, 95%, 84%)
OKLCHoklch(80.3% 0.111 298)

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 #C7AFFD 1.91:1 Fails Lc -40.8 Non-text elements, placeholder text
Black text on #C7AFFD 10.97:1 AAA Lc 67.4 Content text, not long reading
#C7AFFD text on white 1.91:1 Fails Lc 36.5 Non-text elements, placeholder text
#C7AFFD text on black 10.97:1 AAA Lc -66.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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #ECE6FD

    oklch(93.6% 0.031 297.7)

  3. Step 200

    200

    #DED1FD

    oklch(88.5% 0.061 298.7)

  4. Step 300

    300 (this color)

    #C7AFFD

    oklch(80.3% 0.111 298)

  5. Step 400

    400

    #AF84FF

    oklch(70.7% 0.177 297.9)

  6. Step 500

    500

    #9E5DFD

    oklch(63.1% 0.227 298.3)

  7. Step 600

    600

    #8A3AEC

    oklch(55.5% 0.247 298.2)

  8. Step 700

    700

    #752ACE

    oklch(49.1% 0.229 297.8)

  9. Step 800

    800

    #5F26A6

    oklch(42.7% 0.189 298)

  10. Step 900

    900

    #4D2684

    oklch(37.6% 0.149 297.8)

  11. Step 950

    950

    #2D184D

    oklch(27% 0.094 298.1)

Export this scale for Tailwind in the Tailwind colors tool

#C7AFFD 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)#A1BBFB0.057
Tritanopia (no blue cones)#BDBBCB0.089
Achromatopsia (no color)#BBBBBB0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7AFFD

    #C7AFFD

    oklch(80.3% 0.111 298)

  • #B8C874

    #B8C874

    oklch(80.2% 0.11 117.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7AFFD

    #C7AFFD

    oklch(80.3% 0.111 298)

  • #A3BDFF

    #A3BDFF

    oklch(80.3% 0.098 267.6)

  • #E6A5E3

    #E6A5E3

    oklch(80.3% 0.111 328.1)

Open the analogous palette in the generator

Split complementary

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

  • #C7AFFD

    #C7AFFD

    oklch(80.3% 0.111 298)

  • #DCBA66

    #DCBA66

    oklch(80.1% 0.111 87.8)

  • #8CD296

    #8CD296

    oklch(80.2% 0.11 148.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7AFFD

    #C7AFFD

    oklch(80.3% 0.111 298)

  • #F4AC75

    #F4AC75

    oklch(80.1% 0.111 57.7)

  • #62D6BE

    #62D6BE

    oklch(80.2% 0.111 177.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7AFFD

    #C7AFFD

    oklch(80.3% 0.111 298)

  • #FEA396

    #FEA396

    oklch(80.3% 0.111 28.6)

  • #B8C874

    #B8C874

    oklch(80.2% 0.11 117.8)

  • #57D2E4

    #57D2E4

    oklch(80.2% 0.111 208.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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