#C5A2EF
Closest named color: Baby Purple (#CA9BF7). oklch(77.1% 0.113 304.7), rgb(197, 162, 239).
Aa
Black text reads best on this color (9.78:1).
About this color
#C5A2EF is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.113 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.024 away. Black text reads best on it, at 9.78:1.
| Hue family | Purples |
| Lightness | medium-light (77%) |
| Chroma | moderately saturated (0.113) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.78:1 |
| White text | 2.14:1 |
Values
| HEX | #C5A2EF |
| RGB | rgb(197, 162, 239) |
| HSL | hsl(267, 71%, 79%) |
| OKLCH | oklch(77.1% 0.113 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 #C5A2EF | 2.14:1 | Fails | Lc -46.7 | Large or bold text, headings |
| Black text on #C5A2EF | 9.78:1 | AAA | Lc 61.9 | Content text, not long reading |
| #C5A2EF text on white | 2.14:1 | Fails | Lc 42.1 | Non-text elements, placeholder text |
| #C5A2EF text on black | 9.78:1 | AAA | Lc -60.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.
-
Step 50
50
#F8F3FE
oklch(97.1% 0.015 306.4)
-
Step 100
100
#EFE5FC
oklch(93.7% 0.032 305.3)
-
Step 200
200
#E2CFFB
oklch(88.4% 0.063 304.7)
-
Step 300
300 (this color)
#C5A2EF
oklch(77.1% 0.113 304.7)
-
Step 400
400
#BB7FFA
oklch(70.8% 0.181 304.7)
-
Step 500
500
#AB56F7
oklch(63.1% 0.232 304.8)
-
Step 600
600
#9730E6
oklch(55.7% 0.252 304.8)
-
Step 700
700
#811EC8
oklch(49.1% 0.235 304.8)
-
Step 800
800
#681EA1
oklch(42.6% 0.194 304.6)
-
Step 900
900
#552280
oklch(37.8% 0.151 304.9)
-
Step 950
950
#31164B
oklch(27% 0.095 304.1)
#C5A2EF 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) | #92B0F2 | 0.074 |
| Deuteranopia (no green cones) | #99B1ED | 0.069 |
| Tritanopia (no blue cones) | #BFADBE | 0.086 |
| Achromatopsia (no color) | #B1B1B1 | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C5A2EF
#C5A2EF
oklch(77.1% 0.113 304.7)
- #A4C16F
#A4C16F
oklch(77% 0.113 124.9)
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 #C5A2EF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.024
- Lilac #CEA2FD ΔE 0.025
- Pastel Purple #CAA0FF ΔE 0.026
- Pale Violet #CEAEFA ΔE 0.035
- Plum #DDA0DD ΔE 0.044
- Light Violet #D6B4FC ΔE 0.054
- Liliac #C48EFD ΔE 0.058
- Pale Purple #B790D4 ΔE 0.059
Use #C5A2EF 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.