#A165EB#A165EB
#A165EB is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.3% C 0.196 H 301.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #A165EB |
|---|---|
| RGB | rgb(161, 101, 235) |
| HSL | hsl(267, 77%, 66%) |
| HSV | hsv(267, 57%, 92%) |
| CMYK | cmyk(31.5%, 57%, 0%, 7.8%) |
| CIE-LAB | lab(54.95, 50.30, -59.03) |
| CIE-LCH | lch(54.95, 77.56, 310.44°) |
| OKLab | oklab(63.3% 0.1031 -0.167) |
| OKLCH | oklch(63.3% 0.196 301.7) |
| XYZ | xyz(34.3435, 22.8825, 81.1886) |
| Luminance | 0.2288 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.61
Mediumpurple
#9370DB
ΔE00 4.34
Light Urple
#B36FF6
ΔE00 4.34
Lightish Purple
#A552E6
ΔE00 4.46
Purpley
#8756E4
ΔE00 6.57
Bright Lavender
#C760FF
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A165EB #AFEB65
analogous
#656CEB #A165EB #E465EB
triadic
#A165EB #EBA165 #65EBA1
tetradic
#A165EB #EB656C #AFEB65 #65EBE4
square
#A165EB #EB656C #AFEB65 #65EBE4
split-complementary
#A165EB #EBE465 #6CEB65
monochromatic
#6219BD #802FE4 #A165EB #C29BF2 #E3D1F9
Accessibility & contrast
On white
3.77
#A165EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#A165EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A165EB
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A165EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A165EB | 1.00 | 3.77 | 5.58 | 5.58 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2883EF
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#92809E
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a165eb; /* rgb */ color: rgb(161, 101, 235); /* oklch */ color: oklch(63.3% 0.196 301.7);
Tailwind
colors: {
custom: {
50: '#c193f2',
500: '#a165eb',
950: '#000000',
},
}SCSS
$custom: #a165eb; $custom-light: #c193f2; $custom-dark: #000000;
JSON
{
"hex": "#a165eb",
"rgb": {
"r": 161,
"g": 101,
"b": 235
},
"hsl": {
"h": 266.866,
"s": 77.011,
"l": 65.882
},
"oklch": {
"l": 0.63297,
"c": 0.19629,
"h": 301.7
},
"luminance": 0.22883
}Semantic roles & 50–950 ramp
primary
#A165EB
secondary
#D8ECC0
accent
#D90C7D
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85