#C7AFF4

Closest named color: Pale Violet (#CEAEFA). oklch(79.9% 0.099 300.1), rgb(199, 175, 244).

Aa

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

About this color

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

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

Values

HEX#C7AFF4
RGBrgb(199, 175, 244)
HSLhsl(261, 76%, 82%)
OKLCHoklch(79.9% 0.099 300.1)

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 #C7AFF4 1.93:1 Fails Lc -41.3 Non-text elements, placeholder text
Black text on #C7AFF4 10.86:1 AAA Lc 66.9 Content text, not long reading
#C7AFF4 text on white 1.93:1 Fails Lc 37.0 Non-text elements, placeholder text
#C7AFF4 text on black 10.86: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

    #DED2F9

    oklch(88.6% 0.054 299.3)

  4. Step 300

    300 (this color)

    #C7AFF4

    oklch(79.9% 0.099 300.1)

  5. Step 400

    400

    #B187F4

    oklch(70.8% 0.159 300.2)

  6. Step 500

    500

    #9F64EF

    oklch(63.2% 0.202 300.3)

  7. Step 600

    600

    #8A45DD

    oklch(55.6% 0.219 300)

  8. Step 700

    700

    #7634C0

    oklch(49.1% 0.205 300.4)

  9. Step 800

    800

    #602D9B

    oklch(42.7% 0.169 300.5)

  10. Step 900

    900

    #4E2B7C

    oklch(37.8% 0.132 300)

  11. Step 950

    950

    #2D1A48

    oklch(26.9% 0.083 299.9)

Export this scale for Tailwind in the Tailwind colors tool

#C7AFF4 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)#A0BAF70.056
Deuteranopia (no green cones)#A4BAF20.053
Tritanopia (no blue cones)#BFB9C70.079
Achromatopsia (no color)#BABABA0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7AFF4

    #C7AFF4

    oklch(79.9% 0.099 300.1)

  • #B5C77D

    #B5C77D

    oklch(79.9% 0.099 119.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7AFF4

    #C7AFF4

    oklch(79.9% 0.099 300.1)

  • #A4BAFE

    #A4BAFE

    oklch(79.7% 0.1 270.2)

  • #E2A6DC

    #E2A6DC

    oklch(79.8% 0.1 329.9)

Open the analogous palette in the generator

Split complementary

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

  • #C7AFF4

    #C7AFF4

    oklch(79.9% 0.099 300.1)

  • #D6BB70

    #D6BB70

    oklch(79.9% 0.1 90.3)

  • #8ED09C

    #8ED09C

    oklch(79.9% 0.099 150.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7AFF4

    #C7AFF4

    oklch(79.9% 0.099 300.1)

  • #EDAE7B

    #EDAE7B

    oklch(79.9% 0.099 59.7)

  • #6ED2C0

    #6ED2C0

    oklch(79.8% 0.098 180.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7AFF4

    #C7AFF4

    oklch(79.9% 0.099 300.1)

  • #F6A597

    #F6A597

    oklch(79.8% 0.099 30.2)

  • #B5C77D

    #B5C77D

    oklch(79.9% 0.099 119.8)

  • #67CFE1

    #67CFE1

    oklch(79.9% 0.099 210.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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