#9E79FE#9E79FE
#9E79FE is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.190 H 293.5°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9E79FE |
|---|---|
| RGB | rgb(158, 121, 254) |
| HSL | hsl(257, 99%, 74%) |
| HSV | hsv(257, 52%, 100%) |
| CMYK | cmyk(37.8%, 52.4%, 0%, 0.4%) |
| CIE-LAB | lab(59.98, 43.49, -61.53) |
| CIE-LCH | lch(59.98, 75.35, 305.25°) |
| OKLab | oklab(67.3% 0.0757 -0.1744) |
| OKLCH | oklch(67.3% 0.19 293.5) |
| XYZ | xyz(38.8226, 28.0987, 97.1249) |
| Luminance | 0.2810 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.26
Light Urple
#B36FF6
ΔE00 5.08
Mediumpurple
#9370DB
ΔE00 5.74
Lavender Blue
#8B88F8
ΔE00 6.22
Easter Purple
#C071FE
ΔE00 6.54
Light Purple
#BF77F6
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E79FE #D9FE79
analogous
#7996FE #9E79FE #E179FE
triadic
#9E79FE #FE9E79 #79FE9E
tetradic
#9E79FE #FE7996 #D9FE79 #79FEE1
square
#9E79FE #FE7996 #D9FE79 #79FEE1
split-complementary
#9E79FE #FEE179 #96FE79
monochromatic
#4702FB #723CFE #9E79FE #CAB6FE #E9E1FF
Accessibility & contrast
On white
3.17
#9E79FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.62
#9E79FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E79FE
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E79FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E79FE | 1.00 | 3.17 | 6.62 | 6.62 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#488EFB
Tritanopia (blue-blind)
#8694B0
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9e79fe; /* rgb */ color: rgb(158, 121, 254); /* oklch */ color: oklch(67.3% 0.190 293.5);
Tailwind
colors: {
custom: {
50: '#bfa0ff',
500: '#9e79fe',
950: '#000000',
},
}SCSS
$custom: #9e79fe; $custom-light: #bfa0ff; $custom-dark: #000000;
JSON
{
"hex": "#9e79fe",
"rgb": {
"r": 158,
"g": 121,
"b": 254
},
"hsl": {
"h": 256.692,
"s": 98.519,
"l": 73.529
},
"oklch": {
"l": 0.67295,
"c": 0.19015,
"h": 293.5
},
"luminance": 0.281
}Semantic roles & 50–950 ramp
primary
#9E79FE
secondary
#EDF7D4
accent
#E600A6
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86