#C0AFE4

Closest named color: Pale Violet (#CEAEFA). oklch(78.6% 0.076 299.3), rgb(192, 175, 228).

Aa

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

About this color

#C0AFE4 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.076 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.039 away. Black text reads best on it, at 10.49:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.49:1
White text2.00:1

Values

HEX#C0AFE4
RGBrgb(192, 175, 228)
HSLhsl(259, 50%, 79%)
OKLCHoklch(78.6% 0.076 299.3)

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 #C0AFE4 2.00:1 Fails Lc -43.2 Non-text elements, placeholder text
Black text on #C0AFE4 10.49:1 AAA Lc 65.2 Content text, not long reading
#C0AFE4 text on white 2.00:1 Fails Lc 38.8 Non-text elements, placeholder text
#C0AFE4 text on black 10.49:1 AAA Lc -63.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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DDD3F2

    oklch(88.4% 0.043 300.2)

  4. Step 300

    300 (this color)

    #C0AFE4

    oklch(78.6% 0.076 299.3)

  5. Step 400

    400

    #AC8FE2

    oklch(70.8% 0.122 299.4)

  6. Step 500

    500

    #9870D9

    oklch(63.1% 0.156 299.5)

  7. Step 600

    600

    #8356C7

    oklch(55.6% 0.17 299.2)

  8. Step 700

    700

    #6F45AC

    oklch(49.1% 0.159 299.3)

  9. Step 800

    800

    #5A3A8B

    oklch(42.7% 0.13 299)

  10. Step 900

    900

    #4A336F

    oklch(37.8% 0.101 299.2)

  11. Step 950

    950

    #2B1E41

    oklch(26.9% 0.064 299.2)

Export this scale for Tailwind in the Tailwind colors tool

#C0AFE4 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)#A4B7E60.041
Deuteranopia (no green cones)#A7B7E20.039
Tritanopia (no blue cones)#BAB7C10.062
Achromatopsia (no color)#B7B7B70.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #C0AFE4

    #C0AFE4

    oklch(78.6% 0.076 299.3)

  • #B3C189

    #B3C189

    oklch(78.6% 0.077 119.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C0AFE4

    #C0AFE4

    oklch(78.6% 0.076 299.3)

  • #A6B8EB

    #A6B8EB

    oklch(78.7% 0.076 269.5)

  • #D6A8D1

    #D6A8D1

    oklch(78.6% 0.077 329.9)

Open the analogous palette in the generator

Split complementary

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

  • #C0AFE4

    #C0AFE4

    oklch(78.6% 0.076 299.3)

  • #CDB881

    #CDB881

    oklch(78.7% 0.076 89.5)

  • #97C89F

    #97C89F

    oklch(78.7% 0.077 149.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C0AFE4

    #C0AFE4

    oklch(78.6% 0.076 299.3)

  • #DFAE88

    #DFAE88

    oklch(78.6% 0.077 59.1)

  • #81CABB

    #81CABB

    oklch(78.7% 0.076 179.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C0AFE4

    #C0AFE4

    oklch(78.6% 0.076 299.3)

  • #E6A79D

    #E6A79D

    oklch(78.5% 0.076 29)

  • #B3C189

    #B3C189

    oklch(78.6% 0.077 119.6)

  • #7DC7D4

    #7DC7D4

    oklch(78.6% 0.076 209.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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