#A17CF5#A17CF5
#A17CF5 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.5% C 0.175 H 295.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A17CF5 |
|---|---|
| RGB | rgb(161, 124, 245) |
| HSL | hsl(258, 86%, 72%) |
| HSV | hsv(258, 49%, 96%) |
| CMYK | cmyk(34.3%, 49.4%, 0%, 3.9%) |
| CIE-LAB | lab(60.41, 40.21, -55.86) |
| CIE-LCH | lch(60.41, 68.82, 305.75°) |
| OKLab | oklab(67.52% 0.075 -0.1577) |
| OKLCH | oklch(67.52% 0.175 295.4) |
| XYZ | xyz(38.3828, 28.5843, 89.8636) |
| Luminance | 0.2858 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.76
Light Urple
#B36FF6
ΔE00 4.78
Mediumpurple
#9370DB
ΔE00 5.27
Light Purple
#BF77F6
ΔE00 5.93
Easter Purple
#C071FE
ΔE00 6.20
Lavender Blue
#8B88F8
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17CF5 #D0F57C
analogous
#7C94F5 #A17CF5 #DE7CF5
triadic
#A17CF5 #F5A17C #7CF5A1
tetradic
#A17CF5 #F57C94 #D0F57C #7CF5DE
square
#A17CF5 #F57C94 #D0F57C #7CF5DE
split-complementary
#A17CF5 #F5DE7C #94F57C
monochromatic
#5211E5 #7843F1 #A17CF5 #CAB5F9 #EBE3FD
Accessibility & contrast
On white
3.13
#A17CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#A17CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17CF5
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17CF5 | 1.00 | 3.13 | 6.72 | 6.72 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#5790F2
Tritanopia (blue-blind)
#8E94AD
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a17cf5; /* rgb */ color: rgb(161, 124, 245); /* oklch */ color: oklch(67.5% 0.175 295.4);
Tailwind
colors: {
custom: {
50: '#c0a2f9',
500: '#a17cf5',
950: '#000000',
},
}SCSS
$custom: #a17cf5; $custom-light: #c0a2f9; $custom-dark: #000000;
JSON
{
"hex": "#a17cf5",
"rgb": {
"r": 161,
"g": 124,
"b": 245
},
"hsl": {
"h": 258.347,
"s": 85.816,
"l": 72.353
},
"oklch": {
"l": 0.67521,
"c": 0.17466,
"h": 295.4
},
"luminance": 0.28585
}Semantic roles & 50–950 ramp
primary
#A17CF5
secondary
#EBF5D6
accent
#E2039E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85