#C4AFEB

Closest named color: Pale Violet (#CEAEFA). oklch(79.3% 0.087 300.5), rgb(196, 175, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.67:1
White text1.96:1

Values

HEX#C4AFEB
RGBrgb(196, 175, 235)
HSLhsl(261, 60%, 80%)
OKLCHoklch(79.3% 0.087 300.5)

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 #C4AFEB 1.96:1 Fails Lc -42.3 Non-text elements, placeholder text
Black text on #C4AFEB 10.67:1 AAA Lc 66.0 Content text, not long reading
#C4AFEB text on white 1.96:1 Fails Lc 37.9 Non-text elements, placeholder text
#C4AFEB text on black 10.67:1 AAA Lc -64.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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DED2F5

    oklch(88.4% 0.049 301)

  4. Step 300

    300 (this color)

    #C4AFEB

    oklch(79.3% 0.087 300.5)

  5. Step 400

    400

    #AF8BE9

    oklch(70.7% 0.138 300.6)

  6. Step 500

    500

    #9C6BE2

    oklch(63.2% 0.176 300.5)

  7. Step 600

    600

    #874FD0

    oklch(55.6% 0.191 300.2)

  8. Step 700

    700

    #733EB4

    oklch(49% 0.179 300.5)

  9. Step 800

    800

    #5E3492

    oklch(42.7% 0.149 300.8)

  10. Step 900

    900

    #4C2F74

    oklch(37.6% 0.115 300.4)

  11. Step 950

    950

    #2D1C44

    oklch(27% 0.073 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#C4AFEB 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)#A3B9EE0.048
Deuteranopia (no green cones)#A6B9E90.047
Tritanopia (no blue cones)#BDB8C40.069
Achromatopsia (no color)#B9B9B90.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #C4AFEB

    #C4AFEB

    oklch(79.3% 0.087 300.5)

  • #B3C485

    #B3C485

    oklch(79.2% 0.086 120.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C4AFEB

    #C4AFEB

    oklch(79.3% 0.087 300.5)

  • #A6B9F4

    #A6B9F4

    oklch(79.3% 0.087 270.5)

  • #DCA7D6

    #DCA7D6

    oklch(79.2% 0.088 330.2)

Open the analogous palette in the generator

Split complementary

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

  • #C4AFEB

    #C4AFEB

    oklch(79.3% 0.087 300.5)

  • #D0BA7A

    #D0BA7A

    oklch(79.3% 0.086 91.2)

  • #93CC9F

    #93CC9F

    oklch(79.4% 0.087 150.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C4AFEB

    #C4AFEB

    oklch(79.3% 0.087 300.5)

  • #E5AF82

    #E5AF82

    oklch(79.3% 0.087 60.9)

  • #79CEBE

    #79CEBE

    oklch(79.3% 0.086 180.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C4AFEB

    #C4AFEB

    oklch(79.3% 0.087 300.5)

  • #EEA79A

    #EEA79A

    oklch(79.3% 0.087 30.6)

  • #B3C485

    #B3C485

    oklch(79.2% 0.086 120.7)

  • #74CBDA

    #74CBDA

    oklch(79.3% 0.087 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 #C4AFEB, closest first.

Similar named colors

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

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