#C2A7EF

Closest named color: Pale Violet (#CEAEFA). oklch(77.8% 0.104 301.2), rgb(194, 167, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.06:1
White text2.08:1

Values

HEX#C2A7EF
RGBrgb(194, 167, 239)
HSLhsl(263, 69%, 80%)
OKLCHoklch(77.8% 0.104 301.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 #C2A7EF 2.08:1 Fails Lc -45.3 Large or bold text, headings
Black text on #C2A7EF 10.06:1 AAA Lc 63.2 Content text, not long reading
#C2A7EF text on white 2.08:1 Fails Lc 40.7 Non-text elements, placeholder text
#C2A7EF text on black 10.06:1 AAA Lc -61.5 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

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1FA

    oklch(88.5% 0.058 300.8)

  4. Step 300

    300 (this color)

    #C2A7EF

    oklch(77.8% 0.104 301.2)

  5. Step 400

    400

    #B384F7

    oklch(70.6% 0.168 301.1)

  6. Step 500

    500

    #A25FF3

    oklch(63.1% 0.214 301.3)

  7. Step 600

    600

    #8E3FE2

    oklch(55.7% 0.232 301.2)

  8. Step 700

    700

    #792EC4

    oklch(49.1% 0.216 301.3)

  9. Step 800

    800

    #62299E

    oklch(42.7% 0.178 301.3)

  10. Step 900

    900

    #50287E

    oklch(37.8% 0.139 301.3)

  11. Step 950

    950

    #2F194A

    oklch(27.1% 0.088 301.5)

Export this scale for Tailwind in the Tailwind colors tool

#C2A7EF 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)#98B3F20.061
Deuteranopia (no green cones)#9CB3ED0.058
Tritanopia (no blue cones)#BAB2C10.082
Achromatopsia (no color)#B3B3B30.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2A7EF

    #C2A7EF

    oklch(77.8% 0.104 301.2)

  • #ACC174

    #ACC174

    oklch(77.7% 0.104 121.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2A7EF

    #C2A7EF

    oklch(77.8% 0.104 301.2)

  • #9EB3FA

    #9EB3FA

    oklch(77.8% 0.105 271.2)

  • #DE9ED5

    #DE9ED5

    oklch(77.8% 0.104 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #C2A7EF

    #C2A7EF

    oklch(77.8% 0.104 301.2)

  • #CFB465

    #CFB465

    oklch(77.7% 0.104 91)

  • #83CA95

    #83CA95

    oklch(77.8% 0.104 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2A7EF

    #C2A7EF

    oklch(77.8% 0.104 301.2)

  • #E7A770

    #E7A770

    oklch(77.7% 0.104 61.1)

  • #5FCDBB

    #5FCDBB

    oklch(77.9% 0.105 181.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2A7EF

    #C2A7EF

    oklch(77.8% 0.104 301.2)

  • #F29D8D

    #F29D8D

    oklch(77.7% 0.105 31.2)

  • #ACC174

    #ACC174

    oklch(77.7% 0.104 121.3)

  • #59C8DD

    #59C8DD

    oklch(77.7% 0.105 212)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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