#C7A8EA

Closest named color: Pale Violet (#CEAEFA). oklch(78.2% 0.098 305.7), rgb(199, 168, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.21:1
White text2.05:1

Values

HEX#C7A8EA
RGBrgb(199, 168, 234)
HSLhsl(268, 61%, 79%)
OKLCHoklch(78.2% 0.098 305.7)

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 #C7A8EA 2.05:1 Fails Lc -44.6 Non-text elements, placeholder text
Black text on #C7A8EA 10.21:1 AAA Lc 63.9 Content text, not long reading
#C7A8EA text on white 2.05:1 Fails Lc 40.0 Non-text elements, placeholder text
#C7A8EA text on black 10.21:1 AAA Lc -62.3 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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE5F9

    oklch(93.5% 0.028 306)

  3. Step 200

    200

    #E2D1F6

    oklch(88.6% 0.053 306.1)

  4. Step 300

    300 (this color)

    #C7A8EA

    oklch(78.2% 0.098 305.7)

  5. Step 400

    400

    #B884ED

    oklch(70.6% 0.157 305.6)

  6. Step 500

    500

    #A761E7

    oklch(63.1% 0.199 305.5)

  7. Step 600

    600

    #9342D5

    oklch(55.6% 0.216 305.7)

  8. Step 700

    700

    #7D32B9

    oklch(49.1% 0.201 305.4)

  9. Step 800

    800

    #662B95

    oklch(42.7% 0.167 305.9)

  10. Step 900

    900

    #532977

    oklch(37.7% 0.13 305.9)

  11. Step 950

    950

    #301946

    oklch(27% 0.083 305.1)

Export this scale for Tailwind in the Tailwind colors tool

#C7A8EA 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)#9CB4ED0.063
Deuteranopia (no green cones)#A2B5E80.059
Tritanopia (no blue cones)#C2B1BF0.074
Achromatopsia (no color)#B5B5B50.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7A8EA

    #C7A8EA

    oklch(78.2% 0.098 305.7)

  • #A9C37E

    #A9C37E

    oklch(78.1% 0.097 125.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7A8EA

    #C7A8EA

    oklch(78.2% 0.098 305.7)

  • #A6B3F7

    #A6B3F7

    oklch(78.2% 0.098 275.6)

  • #E0A0D0

    #E0A0D0

    oklch(78.2% 0.098 335.9)

Open the analogous palette in the generator

Split complementary

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

  • #C7A8EA

    #C7A8EA

    oklch(78.2% 0.098 305.7)

  • #CBB86D

    #CBB86D

    oklch(78.2% 0.098 95.6)

  • #83CB9D

    #83CB9D

    oklch(78.2% 0.098 155.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7A8EA

    #C7A8EA

    oklch(78.2% 0.098 305.7)

  • #E3AB73

    #E3AB73

    oklch(78.1% 0.098 65.6)

  • #66CCC1

    #66CCC1

    oklch(78.1% 0.097 186.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7A8EA

    #C7A8EA

    oklch(78.2% 0.098 305.7)

  • #EFA28D

    #EFA28D

    oklch(78.2% 0.097 35.9)

  • #A9C37E

    #A9C37E

    oklch(78.1% 0.097 125.4)

  • #66C8E0

    #66C8E0

    oklch(78.2% 0.098 215.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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