#7952E7#7952E7
#7952E7 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.3% C 0.214 H 289.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7952E7 |
|---|---|
| RGB | rgb(121, 82, 231) |
| HSL | hsl(256, 76%, 61%) |
| HSV | hsv(256, 65%, 91%) |
| CMYK | cmyk(47.6%, 64.5%, 0%, 9.4%) |
| CIE-LAB | lab(46.80, 51.04, -70.15) |
| CIE-LCH | lch(46.80, 86.75, 306.04°) |
| OKLab | oklab(56.34% 0.0724 -0.2009) |
| OKLCH | oklch(56.34% 0.214 289.8) |
| XYZ | xyz(25.3221, 15.8680, 77.3144) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.74
Light Indigo
#6D5ACF
ΔE00 4.31
Slate Blue
#6A5ACD
ΔE00 4.81
Bluish Purple
#703BE7
ΔE00 5.43
Purpleish Blue
#6140EF
ΔE00 5.48
Dark Periwinkle
#665FD1
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7952E7 #C0E752
analogous
#5276E7 #7952E7 #C452E7
triadic
#7952E7 #E77952 #52E779
tetradic
#7952E7 #E75276 #C0E752 #52E7C4
square
#7952E7 #E75276 #C0E752 #52E7C4
split-complementary
#7952E7 #E7C452 #76E752
monochromatic
#3D17A7 #511FDD #7952E7 #A388EE #CCBDF6
Accessibility & contrast
On white
5.03
#7952E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#7952E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7952E7
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7952E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7952E7 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#557695
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7952e7; /* rgb */ color: rgb(121, 82, 231); /* oklch */ color: oklch(56.3% 0.214 289.8);
Tailwind
colors: {
custom: {
50: '#a885f0',
500: '#7952e7',
950: '#000000',
},
}SCSS
$custom: #7952e7; $custom-light: #a885f0; $custom-dark: #000000;
JSON
{
"hex": "#7952e7",
"rgb": {
"r": 121,
"g": 82,
"b": 231
},
"hsl": {
"h": 255.705,
"s": 75.635,
"l": 61.373
},
"oklch": {
"l": 0.56335,
"c": 0.21357,
"h": 289.8
},
"luminance": 0.15869
}Semantic roles & 50–950 ramp
primary
#7952E7
secondary
#D8E6AF
accent
#D80EA3
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85