#C8A7F4
Closest named color: Pale Violet (#CEAEFA). oklch(78.5% 0.112 303.6), rgb(200, 167, 244).
Aa
Black text reads best on this color (10.28:1).
About this color
#C8A7F4 is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.112 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.021 away. Black text reads best on it, at 10.28:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.112) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.28:1 |
| White text | 2.04:1 |
Values
| HEX | #C8A7F4 |
| RGB | rgb(200, 167, 244) |
| HSL | hsl(266, 78%, 81%) |
| OKLCH | oklch(78.5% 0.112 303.6) |
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 #C8A7F4 | 2.04:1 | Fails | Lc -44.2 | Non-text elements, placeholder text |
| Black text on #C8A7F4 | 10.28:1 | AAA | Lc 64.3 | Content text, not long reading |
| #C8A7F4 text on white | 2.04:1 | Fails | Lc 39.7 | Non-text elements, placeholder text |
| #C8A7F4 text on black | 10.28:1 | AAA | Lc -62.7 | 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
#F7F3FE
oklch(97% 0.015 302.6)
-
Step 100
100
#EEE5FC
oklch(93.6% 0.032 303.5)
-
Step 200
200
#E1D0FC
oklch(88.5% 0.062 302.7)
-
Step 300
300 (this color)
#C8A7F4
oklch(78.5% 0.112 303.6)
-
Step 400
400
#B980FB
oklch(70.8% 0.18 303.5)
-
Step 500
500
#A858F8
oklch(63.1% 0.23 303.4)
-
Step 600
600
#9433E6
oklch(55.6% 0.249 303.5)
-
Step 700
700
#7F21C8
oklch(49.1% 0.232 303.8)
-
Step 800
800
#6720A2
oklch(42.7% 0.193 303.7)
-
Step 900
900
#532381
oklch(37.7% 0.15 303.2)
-
Step 950
950
#31164B
oklch(27% 0.095 304.1)
#C8A7F4 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) | #97B5F7 | 0.071 |
| Deuteranopia (no green cones) | #9DB5F2 | 0.066 |
| Tritanopia (no blue cones) | #C1B2C3 | 0.085 |
| Achromatopsia (no color) | #B5B5B5 | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C8A7F4
#C8A7F4
oklch(78.5% 0.112 303.6)
- #AAC572
#AAC572
oklch(78.4% 0.113 123.7)
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 #C8A7F4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.021
- Lilac #CEA2FD ΔE 0.022
- Pastel Purple #CAA0FF ΔE 0.027
- Baby Purple #CA9BF7 ΔE 0.031
- Light Violet #D6B4FC ΔE 0.040
- Plum #DDA0DD ΔE 0.044
- Liliac #C48EFD ΔE 0.066
- Pale Purple #B790D4 ΔE 0.072
Use #C8A7F4 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.