#A582EF#A582EF
#A582EF is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.6% C 0.158 H 296.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A582EF |
|---|---|
| RGB | rgb(165, 130, 239) |
| HSL | hsl(259, 77%, 72%) |
| HSV | hsv(259, 46%, 94%) |
| CMYK | cmyk(31%, 45.6%, 0%, 6.3%) |
| CIE-LAB | lab(61.82, 36.34, -50.28) |
| CIE-LCH | lch(61.82, 62.04, 305.86°) |
| OKLab | oklab(68.56% 0.0715 -0.1413) |
| OKLCH | oklch(68.56% 0.158 296.8) |
| XYZ | xyz(39.0759, 30.1961, 85.4143) |
| Luminance | 0.3020 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 5.59
Light Urple
#B36FF6
ΔE00 5.64
Light Purple
#BF77F6
ΔE00 5.78
Mediumpurple
#9370DB
ΔE00 6.17
Liliac
#C48EFD
ΔE00 6.20
Perrywinkle
#8F8CE7
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A582EF #CCEF82
analogous
#8296EF #A582EF #DB82EF
triadic
#A582EF #EFA582 #82EFA5
tetradic
#A582EF #EF8296 #CCEF82 #82EFDB
square
#A582EF #EF8296 #CCEF82 #82EFDB
split-complementary
#A582EF #EFDB82 #96EF82
monochromatic
#591CDB #7E4CE8 #A582EF #CCB8F6 #EBE4FC
Accessibility & contrast
On white
2.98
#A582EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#A582EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A582EF
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A582EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A582EF | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#6694EC
Tritanopia (blue-blind)
#9596AD
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a582ef; /* rgb */ color: rgb(165, 130, 239); /* oklch */ color: oklch(68.6% 0.158 296.8);
Tailwind
colors: {
custom: {
50: '#c2a7f5',
500: '#a582ef',
950: '#000000',
},
}SCSS
$custom: #a582ef; $custom-light: #c2a7f5; $custom-dark: #000000;
JSON
{
"hex": "#a582ef",
"rgb": {
"r": 165,
"g": 130,
"b": 239
},
"hsl": {
"h": 259.266,
"s": 77.305,
"l": 72.353
},
"oklch": {
"l": 0.68562,
"c": 0.15835,
"h": 296.8
},
"luminance": 0.30197
}Semantic roles & 50–950 ramp
primary
#A582EF
secondary
#EAF3D8
accent
#DA0C98
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85