#9F82E5#9F82E5
#9F82E5 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.5% C 0.145 H 295.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9F82E5 |
|---|---|
| RGB | rgb(159, 130, 229) |
| HSL | hsl(258, 66%, 70%) |
| HSV | hsv(258, 43%, 90%) |
| CMYK | cmyk(30.6%, 43.2%, 0%, 10.2%) |
| CIE-LAB | lab(60.78, 32.24, -46.42) |
| CIE-LCH | lch(60.78, 56.52, 304.78°) |
| OKLab | oklab(67.48% 0.0629 -0.1302) |
| OKLCH | oklch(67.48% 0.145 295.8) |
| XYZ | xyz(36.4201, 28.9928, 77.7909) |
| Luminance | 0.2899 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.43
Mediumpurple
#9370DB
ΔE00 5.51
Periwinkle (survey)
#8E82FE
ΔE00 5.77
Lavender Blue
#8B88F8
ΔE00 6.29
Light Urple
#B36FF6
ΔE00 6.70
Light Purple
#BF77F6
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F82E5 #C8E582
analogous
#8296E5 #9F82E5 #D182E5
triadic
#9F82E5 #E59F82 #82E59F
tetradic
#9F82E5 #E58296 #C8E582 #82E5D1
square
#9F82E5 #E58296 #C8E582 #82E5D1
split-complementary
#9F82E5 #E5D182 #96E582
monochromatic
#5629C4 #784FDA #9F82E5 #C6B5F0 #ECE6FA
Accessibility & contrast
On white
3.09
#9F82E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#9F82E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F82E5
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F82E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F82E5 | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6493E9
Deuteranopia (green-blind)
#6991E3
Tritanopia (blue-blind)
#9094A8
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9f82e5; /* rgb */ color: rgb(159, 130, 229); /* oklch */ color: oklch(67.5% 0.145 295.8);
Tailwind
colors: {
custom: {
50: '#bea6ed',
500: '#9f82e5',
950: '#000000',
},
}SCSS
$custom: #9f82e5; $custom-light: #bea6ed; $custom-dark: #000000;
JSON
{
"hex": "#9f82e5",
"rgb": {
"r": 159,
"g": 130,
"b": 229
},
"hsl": {
"h": 257.576,
"s": 65.563,
"l": 70.392
},
"oklch": {
"l": 0.6748,
"c": 0.14461,
"h": 295.8
},
"luminance": 0.28993
}Semantic roles & 50–950 ramp
primary
#9F82E5
secondary
#E7EFD4
accent
#CD1898
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F16
muted
#817F84