#C7AFE2
Closest named color: Pale Violet (#CEAEFA). oklch(79.2% 0.076 306.1), rgb(199, 175, 226).
Aa
Black text reads best on this color (10.65:1).
About this color
#C7AFE2 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.076 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.038 away. Black text reads best on it, at 10.65:1.
| Hue family | Purples |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.076) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.65:1 |
| White text | 1.97:1 |
Values
| HEX | #C7AFE2 |
| RGB | rgb(199, 175, 226) |
| HSL | hsl(268, 47%, 79%) |
| OKLCH | oklch(79.2% 0.076 306.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #C7AFE2 | 1.97:1 | Fails | Lc -42.4 | Non-text elements, placeholder text |
| Black text on #C7AFE2 | 10.65:1 | AAA | Lc 65.9 | Content text, not long reading |
| #C7AFE2 text on white | 1.97:1 | Fails | Lc 38.0 | Non-text elements, placeholder text |
| #C7AFE2 text on black | 10.65:1 | AAA | Lc -64.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.
-
Step 50
50
#F7F4FB
oklch(97.1% 0.01 305.4)
-
Step 100
100
#EDE6F6
oklch(93.5% 0.023 305.6)
-
Step 200
200
#E0D3F0
oklch(88.6% 0.042 305.8)
-
Step 300
300 (this color)
#C7AFE2
oklch(79.2% 0.076 306.1)
-
Step 400
400
#B38CDC
oklch(70.7% 0.121 305.9)
-
Step 500
500
#A16DD2
oklch(63.1% 0.154 306.2)
-
Step 600
600
#8C53BF
oklch(55.6% 0.167 306.1)
-
Step 700
700
#7742A5
oklch(49% 0.157 306.1)
-
Step 800
800
#613786
oklch(42.7% 0.13 306.2)
-
Step 900
900
#4F316B
oklch(37.7% 0.1 306.1)
-
Step 950
950
#2E1D3F
oklch(27% 0.064 305.6)
#C7AFE2 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) | #A6B8E4 | 0.048 |
| Deuteranopia (no green cones) | #ABB9E0 | 0.045 |
| Tritanopia (no blue cones) | #C3B6C1 | 0.057 |
| Achromatopsia (no color) | #B9B9B9 | 0.076 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C7AFE2
#C7AFE2
oklch(79.2% 0.076 306.1)
- #AFC490
#AFC490
oklch(79.1% 0.074 125.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 #C7AFE2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.038
- Light Violet #D6B4FC ΔE 0.044
- Plum #DDA0DD ΔE 0.046
- Thistle #D8BFD8 ΔE 0.056
- Lilac #CEA2FD ΔE 0.058
- Light Periwinkle #C1C6FC ΔE 0.060
- Light Steel Blue #B0C4DE ΔE 0.063
- Pastel Purple #CAA0FF ΔE 0.064
Use #C7AFE2 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.