#C2A7FB

Closest named color: Lilac (#CEA2FD). oklch(78.3% 0.12 298.4), rgb(194, 167, 251).

Aa

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

About this color

#C2A7FB is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.120 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.021 away. Black text reads best on it, at 10.21:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.21:1
White text2.05:1

Values

HEX#C2A7FB
RGBrgb(194, 167, 251)
HSLhsl(259, 91%, 82%)
OKLCHoklch(78.3% 0.12 298.4)

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

    #F6F3FF

    oklch(97% 0.016 297.5)

  2. Step 100

    100

    #ECE5FF

    oklch(93.5% 0.036 298)

  3. Step 200

    200

    #DED1FF

    oklch(88.6% 0.064 298)

  4. Step 300

    300 (this color)

    #C2A7FB

    oklch(78.3% 0.12 298.4)

  5. Step 400

    400

    #B083FF

    oklch(70.6% 0.179 298.5)

  6. Step 500

    500

    #9F5CFF

    oklch(63.2% 0.231 298.4)

  7. Step 600

    600

    #8D2DF6

    oklch(55.6% 0.268 298.3)

  8. Step 700

    700

    #781AD6

    oklch(49% 0.248 298.3)

  9. Step 800

    800

    #621CAD

    oklch(42.7% 0.206 298.6)

  10. Step 900

    900

    #4F2189

    oklch(37.7% 0.161 298.4)

  11. Step 950

    950

    #2E1650

    oklch(27% 0.101 298.3)

Export this scale for Tailwind in the Tailwind colors tool

#C2A7FB 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)#93B5FE0.068
Deuteranopia (no green cones)#97B4F90.064
Tritanopia (no blue cones)#B7B5C60.096
Achromatopsia (no color)#B5B5B50.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2A7FB

    #C2A7FB

    oklch(78.3% 0.12 298.4)

  • #B1C366

    #B1C366

    oklch(78.3% 0.12 118.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2A7FB

    #C2A7FB

    oklch(78.3% 0.12 298.4)

  • #9BB6FF

    #9BB6FF

    oklch(78.4% 0.109 268.3)

  • #E29CDF

    #E29CDF

    oklch(78.2% 0.12 328.1)

Open the analogous palette in the generator

Split complementary

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

  • #C2A7FB

    #C2A7FB

    oklch(78.3% 0.12 298.4)

  • #D8B456

    #D8B456

    oklch(78.3% 0.12 88.4)

  • #80CE8D

    #80CE8D

    oklch(78.4% 0.12 148.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2A7FB

    #C2A7FB

    oklch(78.3% 0.12 298.4)

  • #F2A467

    #F2A467

    oklch(78.3% 0.121 57.8)

  • #4DD1B9

    #4DD1B9

    oklch(78.2% 0.12 178.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2A7FB

    #C2A7FB

    oklch(78.3% 0.12 298.4)

  • #FC9A8C

    #FC9A8C

    oklch(78.4% 0.12 28.8)

  • #B1C366

    #B1C366

    oklch(78.3% 0.12 118.3)

  • #3ECDE1

    #3ECDE1

    oklch(78.2% 0.12 208.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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