#A17BE2#A17BE2
#A17BE2 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.3% C 0.152 H 299.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #A17BE2 |
|---|---|
| RGB | rgb(161, 123, 226) |
| HSL | hsl(262, 64%, 68%) |
| HSV | hsv(262, 46%, 89%) |
| CMYK | cmyk(28.8%, 45.6%, 0%, 11.4%) |
| CIE-LAB | lab(59.19, 36.00, -47.24) |
| CIE-LCH | lch(59.19, 59.40, 307.31°) |
| OKLab | oklab(66.28% 0.0742 -0.1326) |
| OKLCH | oklch(66.28% 0.152 299.2) |
| XYZ | xyz(35.5052, 27.2337, 75.3228) |
| Luminance | 0.2723 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.02
Light Urple
#B36FF6
ΔE00 5.12
Light Purple
#BF77F6
ΔE00 5.92
Easter Purple
#C071FE
ΔE00 6.72
Periwinkle (survey)
#8E82FE
ΔE00 6.92
Deep Lilac
#966EBD
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17BE2 #BCE27B
analogous
#7B88E2 #A17BE2 #D47BE2
triadic
#A17BE2 #E2A17B #7BE2A1
tetradic
#A17BE2 #E27B88 #BCE27B #7BE2D4
square
#A17BE2 #E27B88 #BCE27B #7BE2D4
split-complementary
#A17BE2 #E2D47B #88E27B
monochromatic
#5E29BA #7D49D7 #A17BE2 #C5ADED #E8DFF8
Accessibility & contrast
On white
3.26
#A17BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#A17BE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17BE2
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17BE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17BE2 | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C8EE6
Deuteranopia (green-blind)
#648EDF
Tritanopia (blue-blind)
#948EA4
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a17be2; /* rgb */ color: rgb(161, 123, 226); /* oklch */ color: oklch(66.3% 0.152 299.2);
Tailwind
colors: {
custom: {
50: '#bfa2eb',
500: '#a17be2',
950: '#000000',
},
}SCSS
$custom: #a17be2; $custom-light: #bfa2eb; $custom-dark: #000000;
JSON
{
"hex": "#a17be2",
"rgb": {
"r": 161,
"g": 123,
"b": 226
},
"hsl": {
"h": 262.136,
"s": 63.975,
"l": 68.431
},
"oklch": {
"l": 0.66282,
"c": 0.15193,
"h": 299.2
},
"luminance": 0.27234
}Semantic roles & 50–950 ramp
primary
#A17BE2
secondary
#E0ECCD
accent
#CC1A8A
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#120F16
muted
#817F84