#C7AFEB

Closest named color: Pale Violet (#CEAEFA). oklch(79.5% 0.087 302.8), rgb(199, 175, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.76:1
White text1.95:1

Values

HEX#C7AFEB
RGBrgb(199, 175, 235)
HSLhsl(264, 60%, 80%)
OKLCHoklch(79.5% 0.087 302.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 #C7AFEB 1.95:1 Fails Lc -41.9 Non-text elements, placeholder text
Black text on #C7AFEB 10.76:1 AAA Lc 66.4 Content text, not long reading
#C7AFEB text on white 1.95:1 Fails Lc 37.5 Non-text elements, placeholder text
#C7AFEB text on black 10.76:1 AAA Lc -64.9 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #DFD2F4

    oklch(88.5% 0.048 302.8)

  4. Step 300

    300 (this color)

    #C7AFEB

    oklch(79.5% 0.087 302.8)

  5. Step 400

    400

    #B28AE8

    oklch(70.8% 0.139 302.6)

  6. Step 500

    500

    #A069E1

    oklch(63.2% 0.178 302.8)

  7. Step 600

    600

    #8B4CCE

    oklch(55.5% 0.194 302.8)

  8. Step 700

    700

    #763CB3

    oklch(49% 0.181 302.6)

  9. Step 800

    800

    #603391

    oklch(42.7% 0.15 302.5)

  10. Step 900

    900

    #4E2E73

    oklch(37.6% 0.116 302.6)

  11. Step 950

    950

    #2E1C44

    oklch(27.1% 0.074 302.6)

Export this scale for Tailwind in the Tailwind colors tool

#C7AFEB 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)#A3B9EE0.052
Deuteranopia (no green cones)#A8B9E90.048
Tritanopia (no blue cones)#C1B8C40.069
Achromatopsia (no color)#B9B9B90.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7AFEB

    #C7AFEB

    oklch(79.5% 0.087 302.8)

  • #B2C687

    #B2C687

    oklch(79.6% 0.087 122.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7AFEB

    #C7AFEB

    oklch(79.5% 0.087 302.8)

  • #A9B9F5

    #A9B9F5

    oklch(79.5% 0.087 272.7)

  • #DFA8D5

    #DFA8D5

    oklch(79.6% 0.087 332.8)

Open the analogous palette in the generator

Split complementary

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

  • #C7AFEB

    #C7AFEB

    oklch(79.5% 0.087 302.8)

  • #D0BB7A

    #D0BB7A

    oklch(79.5% 0.087 92.2)

  • #91CDA1

    #91CDA1

    oklch(79.5% 0.088 152.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7AFEB

    #C7AFEB

    oklch(79.5% 0.087 302.8)

  • #E5B081

    #E5B081

    oklch(79.5% 0.088 62.6)

  • #78CFC1

    #78CFC1

    oklch(79.6% 0.087 182.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7AFEB

    #C7AFEB

    oklch(79.5% 0.087 302.8)

  • #EFA898

    #EFA898

    oklch(79.5% 0.088 33.2)

  • #B2C687

    #B2C687

    oklch(79.6% 0.087 122.7)

  • #75CBDD

    #75CBDD

    oklch(79.4% 0.087 212.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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