#C2A8FB

Closest named color: Lilac (#CEA2FD). oklch(78.5% 0.119 298), rgb(194, 168, 251).

Aa

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

About this color

#C2A8FB is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.119 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.28:1.

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

Values

HEX#C2A8FB
RGBrgb(194, 168, 251)
HSLhsl(259, 91%, 82%)
OKLCHoklch(78.5% 0.119 298)

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

    #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)

    #C2A8FB

    oklch(78.5% 0.119 298)

  5. Step 400

    400

    #AF84FF

    oklch(70.7% 0.177 297.9)

  6. Step 500

    500

    #9E5CFF

    oklch(63.1% 0.231 298.1)

  7. Step 600

    600

    #8C30F5

    oklch(55.6% 0.264 298)

  8. Step 700

    700

    #771ED5

    oklch(49.1% 0.245 297.9)

  9. Step 800

    800

    #611EAC

    oklch(42.7% 0.203 298.2)

  10. Step 900

    900

    #4E2388

    oklch(37.7% 0.157 297.7)

  11. Step 950

    950

    #2E1650

    oklch(27% 0.101 298.3)

Export this scale for Tailwind in the Tailwind colors tool

#C2A8FB 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)#94B6FE0.067
Deuteranopia (no green cones)#98B5F90.063
Tritanopia (no blue cones)#B7B5C60.095
Achromatopsia (no color)#B5B5B50.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2A8FB

    #C2A8FB

    oklch(78.5% 0.119 298)

  • #B2C368

    #B2C368

    oklch(78.4% 0.118 117.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2A8FB

    #C2A8FB

    oklch(78.5% 0.119 298)

  • #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°).

  • #C2A8FB

    #C2A8FB

    oklch(78.5% 0.119 298)

  • #D8B458

    #D8B458

    oklch(78.4% 0.118 88.1)

  • #82CE8D

    #82CE8D

    oklch(78.5% 0.119 147.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2A8FB

    #C2A8FB

    oklch(78.5% 0.119 298)

  • #F2A569

    #F2A569

    oklch(78.5% 0.119 57.8)

  • #51D2B9

    #51D2B9

    oklch(78.6% 0.119 177.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2A8FB

    #C2A8FB

    oklch(78.5% 0.119 298)

  • #FC9B8E

    #FC9B8E

    oklch(78.6% 0.119 28.2)

  • #B2C368

    #B2C368

    oklch(78.4% 0.118 117.9)

  • #42CEE0

    #42CEE0

    oklch(78.5% 0.119 207.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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