#C5AFFF

Closest named color: Pale Violet (#CEAEFA). oklch(80.2% 0.113 296.4), rgb(197, 175, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.95:1
White text1.91:1

Values

HEX#C5AFFF
RGBrgb(197, 175, 255)
HSLhsl(257, 100%, 84%)
OKLCHoklch(80.2% 0.113 296.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 #C5AFFF 1.91:1 Fails Lc -40.9 Non-text elements, placeholder text
Black text on #C5AFFF 10.95:1 AAA Lc 67.3 Content text, not long reading
#C5AFFF text on white 1.91:1 Fails Lc 36.6 Non-text elements, placeholder text
#C5AFFF text on black 10.95:1 AAA Lc -65.9 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

    #F6F4FF

    oklch(97.2% 0.015 294.5)

  2. Step 100

    100

    #EBE6FE

    oklch(93.6% 0.033 295.3)

  3. Step 200

    200

    #DCD1FF

    oklch(88.4% 0.064 296)

  4. Step 300

    300 (this color)

    #C5AFFF

    oklch(80.2% 0.113 296.4)

  5. Step 400

    400

    #AC86FF

    oklch(70.8% 0.174 296.2)

  6. Step 500

    500

    #9A5FFF

    oklch(63.1% 0.226 296.3)

  7. Step 600

    600

    #8739F1

    oklch(55.5% 0.252 296.3)

  8. Step 700

    700

    #7328D2

    oklch(49.1% 0.235 296.3)

  9. Step 800

    800

    #5D25AA

    oklch(42.7% 0.194 296.1)

  10. Step 900

    900

    #4C2686

    oklch(37.7% 0.151 296.5)

  11. Step 950

    950

    #2C184F

    oklch(27% 0.096 296.1)

Export this scale for Tailwind in the Tailwind colors tool

#C5AFFF 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)#9CBCFF0.060
Deuteranopia (no green cones)#9FBAFD0.056
Tritanopia (no blue cones)#BABCCC0.092
Achromatopsia (no color)#BBBBBB0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5AFFF

    #C5AFFF

    oklch(80.2% 0.113 296.4)

  • #BAC870

    #BAC870

    oklch(80.3% 0.114 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5AFFF

    #C5AFFF

    oklch(80.2% 0.113 296.4)

  • #A1BDFF

    #A1BDFF

    oklch(80.2% 0.099 266.5)

  • #E5A4E5

    #E5A4E5

    oklch(80.1% 0.114 326.6)

Open the analogous palette in the generator

Split complementary

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

  • #C5AFFF

    #C5AFFF

    oklch(80.2% 0.113 296.4)

  • #DEB963

    #DEB963

    oklch(80.1% 0.113 86.5)

  • #8DD292

    #8DD292

    oklch(80.1% 0.113 146.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5AFFF

    #C5AFFF

    oklch(80.2% 0.113 296.4)

  • #F6AB74

    #F6AB74

    oklch(80.2% 0.113 56.6)

  • #61D6BC

    #61D6BC

    oklch(80.1% 0.113 176.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5AFFF

    #C5AFFF

    oklch(80.2% 0.113 296.4)

  • #FFA197

    #FFA197

    oklch(80.1% 0.114 26.5)

  • #BAC870

    #BAC870

    oklch(80.3% 0.114 116.4)

  • #52D3E2

    #52D3E2

    oklch(80.2% 0.113 206)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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