#C8A2FF

Closest named color: Pastel Purple (#CAA0FF). oklch(78.1% 0.135 302.2), rgb(200, 162, 255).

Aa

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

About this color

#C8A2FF is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.135 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pastel Purple (#CAA0FF), ΔE 0.005 away. Black text reads best on it, at 10.06:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text10.06:1
White text2.08:1

Values

HEX#C8A2FF
RGBrgb(200, 162, 255)
HSLhsl(265, 100%, 82%)
OKLCHoklch(78.1% 0.135 302.2)

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 #C8A2FF 2.08:1 Fails Lc -45.3 Large or bold text, headings
Black text on #C8A2FF 10.06:1 AAA Lc 63.3 Content text, not long reading
#C8A2FF text on white 2.08:1 Fails Lc 40.7 Non-text elements, placeholder text
#C8A2FF text on black 10.06:1 AAA Lc -61.6 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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FF

    oklch(93.7% 0.036 301.4)

  3. Step 200

    200

    #E1CFFF

    oklch(88.5% 0.068 302.1)

  4. Step 300

    300 (this color)

    #C8A2FF

    oklch(78.1% 0.135 302.2)

  5. Step 400

    400

    #B77FFF

    oklch(70.7% 0.186 302.1)

  6. Step 500

    500

    #A754FF

    oklch(63% 0.242 302.1)

  7. Step 600

    600

    #9800FC

    oklch(55.6% 0.293 302.2)

  8. Step 700

    700

    #8000D6

    oklch(49.1% 0.259 302.1)

  9. Step 800

    800

    #6900B1

    oklch(42.6% 0.225 302.1)

  10. Step 900

    900

    #56148E

    oklch(37.7% 0.18 302.3)

  11. Step 950

    950

    #321053

    oklch(27% 0.114 302.3)

Export this scale for Tailwind in the Tailwind colors tool

#C8A2FF 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)#8CB3FF0.087
Deuteranopia (no green cones)#94B3FC0.080
Tritanopia (no blue cones)#BFB1C50.104
Achromatopsia (no color)#B3B3B30.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8A2FF

    #C8A2FF

    oklch(78.1% 0.135 302.2)

  • #A9C55E

    #A9C55E

    oklch(78.1% 0.134 122.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8A2FF

    #C8A2FF

    oklch(78.1% 0.135 302.2)

  • #9FB3FF

    #9FB3FF

    oklch(78.1% 0.111 272.3)

  • #EA96DE

    #EA96DE

    oklch(78.1% 0.136 332)

Open the analogous palette in the generator

Split complementary

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

  • #C8A2FF

    #C8A2FF

    oklch(78.1% 0.135 302.2)

  • #D6B543

    #D6B543

    oklch(78.2% 0.135 92.6)

  • #6ED08D

    #6ED08D

    oklch(78% 0.134 152.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8A2FF

    #C8A2FF

    oklch(78.1% 0.135 302.2)

  • #F4A355

    #F4A355

    oklch(78.1% 0.134 62.5)

  • #23D3BE

    #23D3BE

    oklch(78% 0.135 182)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8A2FF

    #C8A2FF

    oklch(78.1% 0.135 302.2)

  • #FF9783

    #FF9783

    oklch(78% 0.129 31.8)

  • #A9C55E

    #A9C55E

    oklch(78.1% 0.134 122.2)

  • #10CEEA

    #10CEEA

    oklch(78.2% 0.135 212.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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