#7950E9#7950E9
#7950E9 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.218 H 289.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7950E9 |
|---|---|
| RGB | rgb(121, 80, 233) |
| HSL | hsl(256, 78%, 61%) |
| HSV | hsv(256, 66%, 91%) |
| CMYK | cmyk(48.1%, 65.7%, 0%, 8.6%) |
| CIE-LAB | lab(46.56, 52.66, -71.68) |
| CIE-LCH | lch(46.56, 88.94, 306.30°) |
| OKLab | oklab(56.21% 0.0741 -0.2054) |
| OKLCH | oklch(56.21% 0.218 289.8) |
| XYZ | xyz(25.4576, 15.6844, 78.7610) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.99
Light Indigo
#6D5ACF
ΔE00 4.69
Bluish Purple
#703BE7
ΔE00 5.01
Purpleish Blue
#6140EF
ΔE00 5.11
Slate Blue
#6A5ACD
ΔE00 5.17
Dark Periwinkle
#665FD1
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7950E9 #C0E950
analogous
#5074E9 #7950E9 #C550E9
triadic
#7950E9 #E97950 #50E979
tetradic
#7950E9 #E95074 #C0E950 #50E9C5
square
#7950E9 #E95074 #C0E950 #50E9C5
split-complementary
#7950E9 #E9C550 #74E950
monochromatic
#3D15A9 #511CE0 #7950E9 #A386F0 #CCBDF7
Accessibility & contrast
On white
5.08
#7950E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#7950E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7950E9
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7950E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7950E9 | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#547696
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7950e9; /* rgb */ color: rgb(121, 80, 233); /* oklch */ color: oklch(56.2% 0.218 289.8);
Tailwind
colors: {
custom: {
50: '#a884f1',
500: '#7950e9',
950: '#000000',
},
}SCSS
$custom: #7950e9; $custom-light: #a884f1; $custom-dark: #000000;
JSON
{
"hex": "#7950e9",
"rgb": {
"r": 121,
"g": 80,
"b": 233
},
"hsl": {
"h": 256.078,
"s": 77.665,
"l": 61.373
},
"oklch": {
"l": 0.56207,
"c": 0.21836,
"h": 289.8
},
"luminance": 0.15685
}Semantic roles & 50–950 ramp
primary
#7950E9
secondary
#D8E7AE
accent
#DA0CA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85