#A165E4#A165E4
#A165E4 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.9% C 0.188 H 303.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A165E4 |
|---|---|
| RGB | rgb(161, 101, 228) |
| HSL | hsl(268, 70%, 65%) |
| HSV | hsv(268, 56%, 89%) |
| CMYK | cmyk(29.4%, 55.7%, 0%, 10.6%) |
| CIE-LAB | lab(54.54, 48.62, -55.77) |
| CIE-LCH | lch(54.54, 73.99, 311.08°) |
| OKLab | oklab(62.86% 0.103 -0.1574) |
| OKLCH | oklch(62.86% 0.188 303.2) |
| XYZ | xyz(33.3521, 22.4859, 75.9669) |
| Luminance | 0.2249 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.14
Mediumpurple
#9370DB
ΔE00 4.10
Lightish Purple
#A552E6
ΔE00 4.29
Light Urple
#B36FF6
ΔE00 4.69
Amethyst
#9B5FC0
ΔE00 6.17
Purpley
#8756E4
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A165E4 #A8E465
analogous
#6569E4 #A165E4 #E065E4
triadic
#A165E4 #E4A165 #65E4A1
tetradic
#A165E4 #E46569 #A8E465 #65E4E0
square
#A165E4 #E46569 #A8E465 #65E4E0
split-complementary
#A165E4 #E4E065 #69E465
monochromatic
#631FB0 #8131DB #A165E4 #C199ED #E1CDF6
Accessibility & contrast
On white
3.82
#A165E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#A165E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A165E4
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A165E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A165E4 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3281E8
Deuteranopia (green-blind)
#4982E1
Tritanopia (blue-blind)
#957E9B
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #a165e4; /* rgb */ color: rgb(161, 101, 228); /* oklch */ color: oklch(62.9% 0.188 303.2);
Tailwind
colors: {
custom: {
50: '#c093ed',
500: '#a165e4',
950: '#000000',
},
}SCSS
$custom: #a165e4; $custom-light: #c093ed; $custom-dark: #000000;
JSON
{
"hex": "#a165e4",
"rgb": {
"r": 161,
"g": 101,
"b": 228
},
"hsl": {
"h": 268.346,
"s": 70.166,
"l": 64.51
},
"oklch": {
"l": 0.62862,
"c": 0.18816,
"h": 303.2
},
"luminance": 0.22486
}Semantic roles & 50–950 ramp
primary
#A165E4
secondary
#D4E8BC
accent
#D21378
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84