#C0AFEE

Closest named color: Pale Violet (#CEAEFA). oklch(79% 0.09 296.7), rgb(192, 175, 238).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.60:1
White text1.97:1

Values

HEX#C0AFEE
RGBrgb(192, 175, 238)
HSLhsl(256, 65%, 81%)
OKLCHoklch(79% 0.09 296.7)

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 #C0AFEE 1.97:1 Fails Lc -42.6 Non-text elements, placeholder text
Black text on #C0AFEE 10.60:1 AAA Lc 65.7 Content text, not long reading
#C0AFEE text on white 1.97:1 Fails Lc 38.2 Non-text elements, placeholder text
#C0AFEE text on black 10.60:1 AAA Lc -64.2 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DCD3F7

    oklch(88.5% 0.05 296.8)

  4. Step 300

    300 (this color)

    #C0AFEE

    oklch(79% 0.09 296.7)

  5. Step 400

    400

    #AA8CEF

    oklch(70.8% 0.143 296.5)

  6. Step 500

    500

    #976BE9

    oklch(63.1% 0.184 296.9)

  7. Step 600

    600

    #824FD7

    oklch(55.6% 0.199 296.6)

  8. Step 700

    700

    #6E3EBB

    oklch(49% 0.186 296.5)

  9. Step 800

    800

    #5A3597

    oklch(42.8% 0.153 296.8)

  10. Step 900

    900

    #492F78

    oklch(37.6% 0.12 296.6)

  11. Step 950

    950

    #2B1C46

    oklch(26.9% 0.076 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#C0AFEE 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)#A1B9F10.046
Deuteranopia (no green cones)#A3B8EC0.044
Tritanopia (no blue cones)#B7B9C50.074
Achromatopsia (no color)#B8B8B80.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #C0AFEE

    #C0AFEE

    oklch(79% 0.09 296.7)

  • #B7C27F

    #B7C27F

    oklch(79% 0.089 116.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C0AFEE

    #C0AFEE

    oklch(79% 0.09 296.7)

  • #A0BAF5

    #A0BAF5

    oklch(79.1% 0.089 266)

  • #DAA7D9

    #DAA7D9

    oklch(79.1% 0.089 327)

Open the analogous palette in the generator

Split complementary

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

  • #C0AFEE

    #C0AFEE

    oklch(79% 0.09 296.7)

  • #D4B776

    #D4B776

    oklch(79% 0.09 86.3)

  • #95CB99

    #95CB99

    oklch(79.1% 0.09 146.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C0AFEE

    #C0AFEE

    oklch(79% 0.09 296.7)

  • #E7AC82

    #E7AC82

    oklch(79% 0.089 56.5)

  • #77CEB9

    #77CEB9

    oklch(79% 0.09 176.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C0AFEE

    #C0AFEE

    oklch(79% 0.09 296.7)

  • #EFA59C

    #EFA59C

    oklch(79.1% 0.089 27)

  • #B7C27F

    #B7C27F

    oklch(79% 0.089 116.1)

  • #6FCBD8

    #6FCBD8

    oklch(79% 0.09 207.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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