#A158FD#A158FD
#A158FD is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.7% C 0.234 H 300.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #A158FD |
|---|---|
| RGB | rgb(161, 88, 253) |
| HSL | hsl(267, 98%, 67%) |
| HSV | hsv(267, 65%, 99%) |
| CMYK | cmyk(36.4%, 65.2%, 0%, 0.8%) |
| CIE-LAB | lab(53.65, 61.25, -71.15) |
| CIE-LCH | lch(53.65, 93.88, 310.72°) |
| OKLab | oklab(62.72% 0.1168 -0.2026) |
| OKLCH | oklch(62.72% 0.234 300) |
| XYZ | xyz(35.9129, 21.6480, 95.1959) |
| Luminance | 0.2165 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.52
Lightish Purple
#A552E6
ΔE00 3.77
Purpley
#8756E4
ΔE00 5.68
Light Urple
#B36FF6
ΔE00 6.52
Bright Lavender
#C760FF
ΔE00 7.17
Mediumpurple
#9370DB
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A158FD #B4FD58
analogous
#5862FD #A158FD #F358FD
triadic
#A158FD #FDA158 #58FDA1
tetradic
#A158FD #FD5862 #B4FD58 #58FDF3
square
#A158FD #FD5862 #B4FD58 #58FDF3
split-complementary
#A158FD #FDF358 #62FD58
monochromatic
#6103D8 #7F1CFC #A158FD #C394FE #E5D1FE
Accessibility & contrast
On white
3.94
#A158FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#A158FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A158FD
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A158FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A158FD | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#007FFA
Tritanopia (blue-blind)
#8D7EA3
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #a158fd; /* rgb */ color: rgb(161, 88, 253); /* oklch */ color: oklch(62.7% 0.234 300.0);
Tailwind
colors: {
custom: {
50: '#c38bff',
500: '#a158fd',
950: '#000000',
},
}SCSS
$custom: #a158fd; $custom-light: #c38bff; $custom-dark: #000000;
JSON
{
"hex": "#a158fd",
"rgb": {
"r": 161,
"g": 88,
"b": 253
},
"hsl": {
"h": 266.545,
"s": 97.633,
"l": 66.863
},
"oklch": {
"l": 0.6272,
"c": 0.23387,
"h": 300
},
"luminance": 0.21648
}Semantic roles & 50–950 ramp
primary
#A158FD
secondary
#DBF3BE
accent
#E60080
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86