#7950E2#7950E2
#7950E2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.210 H 290.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7950E2 |
|---|---|
| RGB | rgb(121, 80, 226) |
| HSL | hsl(257, 72%, 60%) |
| HSV | hsv(257, 65%, 89%) |
| CMYK | cmyk(46.5%, 64.6%, 0%, 11.4%) |
| CIE-LAB | lab(46.03, 50.73, -68.57) |
| CIE-LCH | lch(46.03, 85.30, 306.50°) |
| OKLab | oklab(55.66% 0.0749 -0.1963) |
| OKLCH | oklch(55.66% 0.21 290.9) |
| XYZ | xyz(24.4774, 15.2924, 73.5988) |
| Luminance | 0.1529 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.03
Light Indigo
#6D5ACF
ΔE00 4.17
Slate Blue
#6A5ACD
ΔE00 4.65
Bluish Purple
#703BE7
ΔE00 4.86
Purpleish Blue
#6140EF
ΔE00 5.17
Dark Periwinkle
#665FD1
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7950E2 #B9E250
analogous
#5070E2 #7950E2 #C250E2
triadic
#7950E2 #E27950 #50E279
tetradic
#7950E2 #E25070 #B9E250 #50E2C2
square
#7950E2 #E25070 #B9E250 #50E2C2
split-complementary
#7950E2 #E2C250 #70E250
monochromatic
#3F1A9E #5423D2 #7950E2 #A184EB #C9B9F3
Accessibility & contrast
On white
5.17
#7950E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#7950E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7950E2
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7950E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7950E2 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#587392
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7950e2; /* rgb */ color: rgb(121, 80, 226); /* oklch */ color: oklch(55.7% 0.210 290.9);
Tailwind
colors: {
custom: {
50: '#a883ec',
500: '#7950e2',
950: '#000000',
},
}SCSS
$custom: #7950e2; $custom-light: #a883ec; $custom-dark: #000000;
JSON
{
"hex": "#7950e2",
"rgb": {
"r": 121,
"g": 80,
"b": 226
},
"hsl": {
"h": 256.849,
"s": 71.569,
"l": 60
},
"oklch": {
"l": 0.55663,
"c": 0.2101,
"h": 290.9
},
"luminance": 0.15293
}Semantic roles & 50–950 ramp
primary
#7950E2
secondary
#D3E3AB
accent
#EE39BC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84