#7950E4#7950E4
#7950E4 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.212 H 290.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7950E4 |
|---|---|
| RGB | rgb(121, 80, 228) |
| HSL | hsl(257, 73%, 60%) |
| HSV | hsv(257, 65%, 89%) |
| CMYK | cmyk(46.9%, 64.9%, 0%, 10.6%) |
| CIE-LAB | lab(46.18, 51.28, -69.46) |
| CIE-LCH | lch(46.18, 86.34, 306.44°) |
| OKLab | oklab(55.82% 0.0747 -0.1989) |
| OKLCH | oklch(55.82% 0.212 290.6) |
| XYZ | xyz(24.7534, 15.4028, 75.0525) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.99
Light Indigo
#6D5ACF
ΔE00 4.30
Slate Blue
#6A5ACD
ΔE00 4.79
Bluish Purple
#703BE7
ΔE00 4.88
Purpleish Blue
#6140EF
ΔE00 5.13
Dark Periwinkle
#665FD1
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7950E4 #BBE450
analogous
#5071E4 #7950E4 #C350E4
triadic
#7950E4 #E47950 #50E479
tetradic
#7950E4 #E45071 #BBE450 #50E4C3
square
#7950E4 #E45071 #BBE450 #50E4C3
split-complementary
#7950E4 #E4C350 #71E450
monochromatic
#3E19A1 #5321D6 #7950E4 #A285EC #CABAF4
Accessibility & contrast
On white
5.15
#7950E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#7950E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7950E4
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7950E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7950E4 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#577493
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7950e4; /* rgb */ color: rgb(121, 80, 228); /* oklch */ color: oklch(55.8% 0.212 290.6);
Tailwind
colors: {
custom: {
50: '#a883ed',
500: '#7950e4',
950: '#000000',
},
}SCSS
$custom: #7950e4; $custom-light: #a883ed; $custom-dark: #000000;
JSON
{
"hex": "#7950e4",
"rgb": {
"r": 121,
"g": 80,
"b": 228
},
"hsl": {
"h": 256.622,
"s": 73.267,
"l": 60.392
},
"oklch": {
"l": 0.55817,
"c": 0.21247,
"h": 290.6
},
"luminance": 0.15404
}Semantic roles & 50–950 ramp
primary
#7950E4
secondary
#D5E4AC
accent
#D5109F
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84