#C7ABFF
Closest named color: Pale Violet (#CEAEFA). oklch(79.6% 0.12 299), rgb(199, 171, 255).
Aa
Black text reads best on this color (10.69:1).
About this color
#C7ABFF is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.120 and its hue 299°. 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.69:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.120) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.69:1 |
| White text | 1.96:1 |
Values
| HEX | #C7ABFF |
| RGB | rgb(199, 171, 255) |
| HSL | hsl(260, 100%, 84%) |
| OKLCH | oklch(79.6% 0.12 299) |
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 #C7ABFF | 1.96:1 | Fails | Lc -42.1 | Non-text elements, placeholder text |
| Black text on #C7ABFF | 10.69:1 | AAA | Lc 66.2 | Content text, not long reading |
| #C7ABFF text on white | 1.96:1 | Fails | Lc 37.7 | Non-text elements, placeholder text |
| #C7ABFF text on black | 10.69:1 | AAA | Lc -64.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
#F7F3FF
oklch(97.1% 0.016 301.2)
-
Step 100
100
#EDE5FF
oklch(93.6% 0.036 299.7)
-
Step 200
200
#DFD0FF
oklch(88.5% 0.066 299.6)
-
Step 300
300 (this color)
#C7ABFF
oklch(79.6% 0.12 299)
-
Step 400
400
#B183FF
oklch(70.7% 0.179 298.9)
-
Step 500
500
#A05BFF
oklch(63.1% 0.232 298.9)
-
Step 600
600
#8E2DF5
oklch(55.6% 0.267 298.8)
-
Step 700
700
#791AD5
oklch(49.1% 0.248 298.9)
-
Step 800
800
#621CAC
oklch(42.6% 0.205 298.9)
-
Step 900
900
#502188
oklch(37.7% 0.16 299.3)
-
Step 950
950
#2E1650
oklch(27% 0.101 298.3)
#C7ABFF 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) | #97B9FF | 0.070 |
| Deuteranopia (no green cones) | #9CB8FD | 0.064 |
| Tritanopia (no blue cones) | #BDB8CA | 0.094 |
| Achromatopsia (no color) | #B9B9B9 | 0.120 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C7ABFF
#C7ABFF
oklch(79.6% 0.12 299)
- #B4C76B
#B4C76B
oklch(79.5% 0.12 118.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 #C7ABFF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.016
- Lilac #CEA2FD ΔE 0.023
- Pastel Purple #CAA0FF ΔE 0.027
- Light Violet #D6B4FC ΔE 0.034
- Baby Purple #CA9BF7 ΔE 0.038
- Plum #DDA0DD ΔE 0.057
- Pastel Blue #A2BFFE ΔE 0.068
- Light Periwinkle #C1C6FC ΔE 0.070
Use #C7ABFF 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.