#C5A7EA
Closest named color: Pale Violet (#CEAEFA). oklch(77.8% 0.099 304.7), rgb(197, 167, 234).
Aa
Black text reads best on this color (10.08:1).
About this color
#C5A7EA is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.099 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.030 away. Black text reads best on it, at 10.08:1.
| Hue family | Purples |
| Lightness | medium-light (78%) |
| Chroma | moderately saturated (0.099) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.08:1 |
| White text | 2.08:1 |
Values
| HEX | #C5A7EA |
| RGB | rgb(197, 167, 234) |
| HSL | hsl(267, 61%, 79%) |
| OKLCH | oklch(77.8% 0.099 304.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #C5A7EA | 2.08:1 | Fails | Lc -45.2 | Large or bold text, headings |
| Black text on #C5A7EA | 10.08:1 | AAA | Lc 63.3 | Content text, not long reading |
| #C5A7EA text on white | 2.08:1 | Fails | Lc 40.6 | Non-text elements, placeholder text |
| #C5A7EA text on black | 10.08:1 | AAA | Lc -61.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.
-
Step 50
50
#F7F3FD
oklch(97% 0.014 304.1)
-
Step 100
100
#EEE5FA
oklch(93.5% 0.03 305.1)
-
Step 200
200
#E1D1F7
oklch(88.6% 0.054 304.4)
-
Step 300
300 (this color)
#C5A7EA
oklch(77.8% 0.099 304.7)
-
Step 400
400
#B784EF
oklch(70.6% 0.159 304.7)
-
Step 500
500
#A661E9
oklch(63.1% 0.201 304.7)
-
Step 600
600
#9241D7
oklch(55.6% 0.219 304.9)
-
Step 700
700
#7C31BB
oklch(49.1% 0.204 304.5)
-
Step 800
800
#652B97
oklch(42.7% 0.169 304.7)
-
Step 900
900
#522978
oklch(37.7% 0.131 304.8)
-
Step 950
950
#301946
oklch(27% 0.083 305.1)
#C5A7EA 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #9AB3ED | 0.063 |
| Deuteranopia (no green cones) | #A0B4E8 | 0.059 |
| Tritanopia (no blue cones) | #C0B1BF | 0.076 |
| Achromatopsia (no color) | #B4B4B4 | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C5A7EA
#C5A7EA
oklch(77.8% 0.099 304.7)
- #A9C27B
#A9C27B
oklch(77.8% 0.099 124.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #C5A7EA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.030
- Lilac #CEA2FD ΔE 0.036
- Pastel Purple #CAA0FF ΔE 0.040
- Baby Purple #CA9BF7 ΔE 0.040
- Plum #DDA0DD ΔE 0.040
- Light Violet #D6B4FC ΔE 0.047
- Pale Purple #B790D4 ΔE 0.065
- Pastel Blue #A2BFFE ΔE 0.071
Use #C5A7EA 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.