#C2A8FA

Closest named color: Lilac (#CEA2FD). oklch(78.4% 0.117 298.2), rgb(194, 168, 250).

Aa

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

About this color

#C2A8FA is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.117 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.023 away. Black text reads best on it, at 10.27:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.27:1
White text2.04:1

Values

HEX#C2A8FA
RGBrgb(194, 168, 250)
HSLhsl(259, 89%, 82%)
OKLCHoklch(78.4% 0.117 298.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 #C2A8FA 2.04:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #C2A8FA 10.27:1 AAA Lc 64.2 Content text, not long reading
#C2A8FA text on white 2.04:1 Fails Lc 39.7 Non-text elements, placeholder text
#C2A8FA text on black 10.27:1 AAA Lc -62.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

    #F6F3FF

    oklch(97% 0.016 297.5)

  2. Step 100

    100

    #ECE5FE

    oklch(93.5% 0.034 298.5)

  3. Step 200

    200

    #DED1FF

    oklch(88.6% 0.064 298)

  4. Step 300

    300 (this color)

    #C2A8FA

    oklch(78.4% 0.117 298.2)

  5. Step 400

    400

    #B084FF

    oklch(70.8% 0.177 298.3)

  6. Step 500

    500

    #9E5CFF

    oklch(63.1% 0.231 298.1)

  7. Step 600

    600

    #8C32F3

    oklch(55.6% 0.261 298.2)

  8. Step 700

    700

    #7720D4

    oklch(49.1% 0.243 298)

  9. Step 800

    800

    #6120AB

    oklch(42.8% 0.201 298.3)

  10. Step 900

    900

    #4E2387

    oklch(37.6% 0.156 298)

  11. Step 950

    950

    #2E174F

    oklch(27.1% 0.098 298.5)

Export this scale for Tailwind in the Tailwind colors tool

#C2A8FA 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)#95B5FD0.065
Deuteranopia (no green cones)#99B5F80.062
Tritanopia (no blue cones)#B7B5C60.094
Achromatopsia (no color)#B5B5B50.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2A8FA

    #C2A8FA

    oklch(78.4% 0.117 298.2)

  • #B2C369

    #B2C369

    oklch(78.4% 0.117 118)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2A8FA

    #C2A8FA

    oklch(78.4% 0.117 298.2)

  • #9BB6FF

    #9BB6FF

    oklch(78.4% 0.109 268.3)

  • #E29DDF

    #E29DDF

    oklch(78.4% 0.118 328.1)

Open the analogous palette in the generator

Split complementary

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

  • #C2A8FA

    #C2A8FA

    oklch(78.4% 0.117 298.2)

  • #D8B459

    #D8B459

    oklch(78.4% 0.117 87.9)

  • #82CE8E

    #82CE8E

    oklch(78.5% 0.118 148.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2A8FA

    #C2A8FA

    oklch(78.4% 0.117 298.2)

  • #F1A56A

    #F1A56A

    oklch(78.4% 0.117 57.8)

  • #53D1B9

    #53D1B9

    oklch(78.4% 0.117 178.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2A8FA

    #C2A8FA

    oklch(78.4% 0.117 298.2)

  • #FB9B8E

    #FB9B8E

    oklch(78.4% 0.117 28.3)

  • #B2C369

    #B2C369

    oklch(78.4% 0.117 118)

  • #45CDE0

    #45CDE0

    oklch(78.4% 0.117 208.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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