#C7AFF3
Closest named color: Pale Violet (#CEAEFA). oklch(79.8% 0.098 300.4), rgb(199, 175, 243).
Aa
Black text reads best on this color (10.85:1).
About this color
#C7AFF3 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.098 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.015 away. Black text reads best on it, at 10.85:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.098) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.85:1 |
| White text | 1.93:1 |
Values
| HEX | #C7AFF3 |
| RGB | rgb(199, 175, 243) |
| HSL | hsl(261, 74%, 82%) |
| OKLCH | oklch(79.8% 0.098 300.4) |
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 #C7AFF3 | 1.93:1 | Fails | Lc -41.4 | Non-text elements, placeholder text |
| Black text on #C7AFF3 | 10.85:1 | AAA | Lc 66.9 | Content text, not long reading |
| #C7AFF3 text on white | 1.93:1 | Fails | Lc 37.1 | Non-text elements, placeholder text |
| #C7AFF3 text on black | 10.85:1 | AAA | Lc -65.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
#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)
#C7AFF3
oklch(79.8% 0.098 300.4)
-
Step 400
400
#B187F2
oklch(70.7% 0.156 300.6)
-
Step 500
500
#9F64ED
oklch(63.1% 0.2 300.7)
-
Step 600
600
#8A46DC
oklch(55.6% 0.217 300.1)
-
Step 700
700
#7635BF
oklch(49.1% 0.203 300.5)
-
Step 800
800
#602E9A
oklch(42.7% 0.167 300.7)
-
Step 900
900
#4E2B7B
oklch(37.7% 0.131 300.4)
-
Step 950
950
#2D1A48
oklch(26.9% 0.083 299.9)
#C7AFF3 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) | #A1BAF6 | 0.055 |
| Deuteranopia (no green cones) | #A5BAF1 | 0.052 |
| Tritanopia (no blue cones) | #BFB9C7 | 0.077 |
| Achromatopsia (no color) | #BABABA | 0.098 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C7AFF3
#C7AFF3
oklch(79.8% 0.098 300.4)
- #B4C77F
#B4C77F
oklch(79.8% 0.097 120.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 #C7AFF3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.015
- Light Violet #D6B4FC ΔE 0.029
- Lilac #CEA2FD ΔE 0.040
- Pastel Purple #CAA0FF ΔE 0.045
- Plum #DDA0DD ΔE 0.050
- Baby Purple #CA9BF7 ΔE 0.052
- Light Periwinkle #C1C6FC ΔE 0.057
- Pastel Blue #A2BFFE ΔE 0.059
Use #C7AFF3 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.