#C5AFF7

Closest named color: Pale Violet (#CEAEFA). oklch(79.8% 0.103 298.1), rgb(197, 175, 247).

Aa

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

About this color

#C5AFF7 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.103 and its hue 298°. 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.84:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.84:1
White text1.93:1

Values

HEX#C5AFF7
RGBrgb(197, 175, 247)
HSLhsl(258, 82%, 83%)
OKLCHoklch(79.8% 0.103 298.1)

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 #C5AFF7 1.93:1 Fails Lc -41.4 Non-text elements, placeholder text
Black text on #C5AFF7 10.84:1 AAA Lc 66.8 Content text, not long reading
#C5AFF7 text on white 1.93:1 Fails Lc 37.1 Non-text elements, placeholder text
#C5AFF7 text on black 10.84:1 AAA Lc -65.4 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DDD2FB

    oklch(88.6% 0.057 297.5)

  4. Step 300

    300 (this color)

    #C5AFF7

    oklch(79.8% 0.103 298.1)

  5. Step 400

    400

    #AE87F8

    oklch(70.7% 0.163 298)

  6. Step 500

    500

    #9C63F5

    oklch(63.1% 0.21 298.1)

  7. Step 600

    600

    #8843E4

    oklch(55.6% 0.229 298.1)

  8. Step 700

    700

    #7333C6

    oklch(49.1% 0.212 297.8)

  9. Step 800

    800

    #5E2CA0

    oklch(42.7% 0.176 298.2)

  10. Step 900

    900

    #4C2A7F

    oklch(37.7% 0.137 297.9)

  11. Step 950

    950

    #2C1A4A

    oklch(27% 0.086 297.6)

Export this scale for Tailwind in the Tailwind colors tool

#C5AFF7 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)#9FBAFA0.055
Deuteranopia (no green cones)#A2BAF50.053
Tritanopia (no blue cones)#BCBAC90.082
Achromatopsia (no color)#BABABA0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5AFF7

    #C5AFF7

    oklch(79.8% 0.103 298.1)

  • #B7C779

    #B7C779

    oklch(79.9% 0.103 118.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5AFF7

    #C5AFF7

    oklch(79.8% 0.103 298.1)

  • #A1BBFF

    #A1BBFF

    oklch(79.8% 0.101 268)

  • #E2A6DF

    #E2A6DF

    oklch(79.9% 0.103 328.2)

Open the analogous palette in the generator

Split complementary

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

  • #C5AFF7

    #C5AFF7

    oklch(79.8% 0.103 298.1)

  • #D9BA6D

    #D9BA6D

    oklch(79.9% 0.103 88.1)

  • #8FD098

    #8FD098

    oklch(79.9% 0.103 148.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5AFF7

    #C5AFF7

    oklch(79.8% 0.103 298.1)

  • #EFAD7A

    #EFAD7A

    oklch(79.9% 0.102 58.3)

  • #6BD3BD

    #6BD3BD

    oklch(79.8% 0.103 177.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5AFF7

    #C5AFF7

    oklch(79.8% 0.103 298.1)

  • #F8A498

    #F8A498

    oklch(79.8% 0.102 28.4)

  • #B7C779

    #B7C779

    oklch(79.9% 0.103 118.3)

  • #61D0E0

    #61D0E0

    oklch(79.9% 0.103 208)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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