#7950ED#7950ED
#7950ED is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.223 H 289.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7950ED |
|---|---|
| RGB | rgb(121, 80, 237) |
| HSL | hsl(256, 81%, 62%) |
| HSV | hsv(256, 66%, 93%) |
| CMYK | cmyk(48.9%, 66.2%, 0%, 7.1%) |
| CIE-LAB | lab(46.86, 53.76, -73.43) |
| CIE-LCH | lch(46.86, 91.01, 306.21°) |
| OKLab | oklab(56.52% 0.0736 -0.2106) |
| OKLCH | oklch(56.52% 0.223 289.3) |
| XYZ | xyz(26.0355, 15.9156, 81.8045) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.08
Light Indigo
#6D5ACF
ΔE00 5.04
Purpleish Blue
#6140EF
ΔE00 5.16
Bluish Purple
#703BE7
ΔE00 5.18
Slate Blue
#6A5ACD
ΔE00 5.51
Dark Periwinkle
#665FD1
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7950ED #C4ED50
analogous
#5076ED #7950ED #C850ED
triadic
#7950ED #ED7950 #50ED79
tetradic
#7950ED #ED5076 #C4ED50 #50EDC8
square
#7950ED #ED5076 #C4ED50 #50EDC8
split-complementary
#7950ED #EDC850 #76ED50
monochromatic
#3B12B0 #4F19E7 #7950ED #A387F3 #CEBFF8
Accessibility & contrast
On white
5.02
#7950ED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#7950ED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7950ED
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7950ED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7950ED | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#517798
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7950ed; /* rgb */ color: rgb(121, 80, 237); /* oklch */ color: oklch(56.5% 0.223 289.3);
Tailwind
colors: {
custom: {
50: '#a984f4',
500: '#7950ed',
950: '#000000',
},
}SCSS
$custom: #7950ed; $custom-light: #a984f4; $custom-dark: #000000;
JSON
{
"hex": "#7950ed",
"rgb": {
"r": 121,
"g": 80,
"b": 237
},
"hsl": {
"h": 255.669,
"s": 81.347,
"l": 62.157
},
"oklch": {
"l": 0.56522,
"c": 0.22305,
"h": 289.3
},
"luminance": 0.15917
}Semantic roles & 50–950 ramp
primary
#7950ED
secondary
#DAE9B0
accent
#DE08A6
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85