#C8A7F4

Closest named color: Pale Violet (#CEAEFA). oklch(78.5% 0.112 303.6), rgb(200, 167, 244).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.28:1
White text2.04:1

Values

HEX#C8A7F4
RGBrgb(200, 167, 244)
HSLhsl(266, 78%, 81%)
OKLCHoklch(78.5% 0.112 303.6)

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 #C8A7F4 2.04:1 Fails Lc -44.2 Non-text elements, placeholder text
Black text on #C8A7F4 10.28:1 AAA Lc 64.3 Content text, not long reading
#C8A7F4 text on white 2.04:1 Fails Lc 39.7 Non-text elements, placeholder text
#C8A7F4 text on black 10.28:1 AAA Lc -62.7 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FC

    oklch(93.6% 0.032 303.5)

  3. Step 200

    200

    #E1D0FC

    oklch(88.5% 0.062 302.7)

  4. Step 300

    300 (this color)

    #C8A7F4

    oklch(78.5% 0.112 303.6)

  5. Step 400

    400

    #B980FB

    oklch(70.8% 0.18 303.5)

  6. Step 500

    500

    #A858F8

    oklch(63.1% 0.23 303.4)

  7. Step 600

    600

    #9433E6

    oklch(55.6% 0.249 303.5)

  8. Step 700

    700

    #7F21C8

    oklch(49.1% 0.232 303.8)

  9. Step 800

    800

    #6720A2

    oklch(42.7% 0.193 303.7)

  10. Step 900

    900

    #532381

    oklch(37.7% 0.15 303.2)

  11. Step 950

    950

    #31164B

    oklch(27% 0.095 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#C8A7F4 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)#97B5F70.071
Deuteranopia (no green cones)#9DB5F20.066
Tritanopia (no blue cones)#C1B2C30.085
Achromatopsia (no color)#B5B5B50.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8A7F4

    #C8A7F4

    oklch(78.5% 0.112 303.6)

  • #AAC572

    #AAC572

    oklch(78.4% 0.113 123.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8A7F4

    #C8A7F4

    oklch(78.5% 0.112 303.6)

  • #A3B4FF

    #A3B4FF

    oklch(78.5% 0.109 273.9)

  • #E59ED7

    #E59ED7

    oklch(78.6% 0.112 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #C8A7F4

    #C8A7F4

    oklch(78.5% 0.112 303.6)

  • #D1B85F

    #D1B85F

    oklch(78.6% 0.113 94)

  • #7DCE97

    #7DCE97

    oklch(78.5% 0.112 153.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8A7F4

    #C8A7F4

    oklch(78.5% 0.112 303.6)

  • #ECA969

    #ECA969

    oklch(78.5% 0.113 63.6)

  • #54D0C0

    #54D0C0

    oklch(78.4% 0.112 183.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8A7F4

    #C8A7F4

    oklch(78.5% 0.112 303.6)

  • #F89E89

    #F89E89

    oklch(78.5% 0.112 33.8)

  • #AAC572

    #AAC572

    oklch(78.4% 0.113 123.7)

  • #51CBE4

    #51CBE4

    oklch(78.4% 0.112 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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