#7950E7#7950E7
#7950E7 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.0% C 0.216 H 290.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7950E7 |
|---|---|
| RGB | rgb(121, 80, 231) |
| HSL | hsl(256, 76%, 61%) |
| HSV | hsv(256, 65%, 91%) |
| CMYK | cmyk(47.6%, 65.4%, 0%, 9.4%) |
| CIE-LAB | lab(46.41, 52.11, -70.79) |
| CIE-LCH | lch(46.41, 87.90, 306.35°) |
| OKLab | oklab(56.05% 0.0744 -0.2028) |
| OKLCH | oklch(56.05% 0.216 290.1) |
| XYZ | xyz(25.1735, 15.5708, 77.2649) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.97
Light Indigo
#6D5ACF
ΔE00 4.53
Bluish Purple
#703BE7
ΔE00 4.95
Slate Blue
#6A5ACD
ΔE00 5.01
Purpleish Blue
#6140EF
ΔE00 5.11
Dark Periwinkle
#665FD1
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7950E7 #BEE750
analogous
#5072E7 #7950E7 #C450E7
triadic
#7950E7 #E77950 #50E779
tetradic
#7950E7 #E75072 #BEE750 #50E7C4
square
#7950E7 #E75072 #BEE750 #50E7C4
split-complementary
#7950E7 #E7C450 #72E750
monochromatic
#3E17A6 #521EDC #7950E7 #A286EE #CBBCF6
Accessibility & contrast
On white
5.10
#7950E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#7950E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7950E7
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7950E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7950E7 | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#557595
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7950e7; /* rgb */ color: rgb(121, 80, 231); /* oklch */ color: oklch(56.0% 0.216 290.1);
Tailwind
colors: {
custom: {
50: '#a883f0',
500: '#7950e7',
950: '#000000',
},
}SCSS
$custom: #7950e7; $custom-light: #a883f0; $custom-dark: #000000;
JSON
{
"hex": "#7950e7",
"rgb": {
"r": 121,
"g": 80,
"b": 231
},
"hsl": {
"h": 256.291,
"s": 75.879,
"l": 60.98
},
"oklch": {
"l": 0.5605,
"c": 0.21601,
"h": 290.1
},
"luminance": 0.15572
}Semantic roles & 50–950 ramp
primary
#7950E7
secondary
#D6E6AD
accent
#D80DA1
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85