#7952EF#7952EF
#7952EF is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.223 H 288.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7952EF |
|---|---|
| RGB | rgb(121, 82, 239) |
| HSL | hsl(255, 83%, 63%) |
| HSV | hsv(255, 66%, 94%) |
| CMYK | cmyk(49.4%, 65.7%, 0%, 6.3%) |
| CIE-LAB | lab(47.41, 53.25, -73.67) |
| CIE-LCH | lch(47.41, 90.91, 305.86°) |
| OKLab | oklab(56.96% 0.0714 -0.2113) |
| OKLCH | oklch(56.96% 0.223 288.7) |
| XYZ | xyz(26.4779, 16.3304, 83.4015) |
| Luminance | 0.1633 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.98
Light Indigo
#6D5ACF
ΔE00 5.06
Slate Blue
#6A5ACD
ΔE00 5.54
Purpleish Blue
#6140EF
ΔE00 5.60
Bluish Purple
#703BE7
ΔE00 5.75
Mediumslateblue
#7B68EE
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7952EF #C8EF52
analogous
#527AEF #7952EF #C752EF
triadic
#7952EF #EF7952 #52EF79
tetradic
#7952EF #EF527A #C8EF52 #52EFC7
square
#7952EF #EF527A #C8EF52 #52EFC7
split-complementary
#7952EF #EFC752 #7AEF52
monochromatic
#3A11B6 #4E1AEA #7952EF #A48AF4 #D0C2F9
Accessibility & contrast
On white
4.92
#7952EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#7952EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7952EF
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7952EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7952EF | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#50799A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7952ef; /* rgb */ color: rgb(121, 82, 239); /* oklch */ color: oklch(57.0% 0.223 288.7);
Tailwind
colors: {
custom: {
50: '#a985f5',
500: '#7952ef',
950: '#000000',
},
}SCSS
$custom: #7952ef; $custom-light: #a985f5; $custom-dark: #000000;
JSON
{
"hex": "#7952ef",
"rgb": {
"r": 121,
"g": 82,
"b": 239
},
"hsl": {
"h": 254.904,
"s": 83.069,
"l": 62.941
},
"oklch": {
"l": 0.56959,
"c": 0.22302,
"h": 288.7
},
"luminance": 0.16332
}Semantic roles & 50–950 ramp
primary
#7952EF
secondary
#DDEBB2
accent
#DF06A9
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85