#C7AFF2
Closest named color: Pale Violet (#CEAEFA). oklch(79.8% 0.096 300.7), rgb(199, 175, 242).
Aa
Black text reads best on this color (10.84:1).
About this color
#C7AFF2 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.096 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.016 away. Black text reads best on it, at 10.84:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.096) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.84:1 |
| White text | 1.93:1 |
Values
| HEX | #C7AFF2 |
| RGB | rgb(199, 175, 242) |
| HSL | hsl(261, 72%, 82%) |
| OKLCH | oklch(79.8% 0.096 300.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 #C7AFF2 | 1.93:1 | Fails | Lc -41.4 | Non-text elements, placeholder text |
| Black text on #C7AFF2 | 10.84:1 | AAA | Lc 66.8 | Content text, not long reading |
| #C7AFF2 text on white | 1.93:1 | Fails | Lc 37.1 | Non-text elements, placeholder text |
| #C7AFF2 text on black | 10.84:1 | AAA | Lc -65.3 | 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
#F7F4FD
oklch(97.2% 0.012 301.3)
-
Step 100
100
#EDE6FA
oklch(93.6% 0.028 301.7)
-
Step 200
200
#DED2F8
oklch(88.5% 0.053 299.7)
-
Step 300
300 (this color)
#C7AFF2
oklch(79.8% 0.096 300.7)
-
Step 400
400
#B187F1
oklch(70.6% 0.155 300.8)
-
Step 500
500
#9F65EC
oklch(63.2% 0.197 300.7)
-
Step 600
600
#8B47DA
oklch(55.7% 0.214 300.8)
-
Step 700
700
#7636BD
oklch(49.1% 0.2 300.8)
-
Step 800
800
#602F99
oklch(42.8% 0.165 300.8)
-
Step 900
900
#4E2B7A
oklch(37.7% 0.129 300.7)
-
Step 950
950
#2D1A47
oklch(26.8% 0.082 300.5)
#C7AFF2 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) | #A1BAF5 | 0.055 |
| Deuteranopia (no green cones) | #A5BAF0 | 0.052 |
| Tritanopia (no blue cones) | #C0B9C7 | 0.076 |
| Achromatopsia (no color) | #BABABA | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C7AFF2
#C7AFF2
oklch(79.8% 0.096 300.7)
- #B4C780
#B4C780
oklch(79.8% 0.096 120.8)
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 #C7AFF2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.016
- Light Violet #D6B4FC ΔE 0.029
- Lilac #CEA2FD ΔE 0.040
- Pastel Purple #CAA0FF ΔE 0.046
- Plum #DDA0DD ΔE 0.049
- Baby Purple #CA9BF7 ΔE 0.052
- Light Periwinkle #C1C6FC ΔE 0.056
- Pastel Blue #A2BFFE ΔE 0.059
Use #C7AFF2 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.