#7952CE#7952CE
#7952CE is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.183 H 293.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7952CE |
|---|---|
| RGB | rgb(121, 82, 206) |
| HSL | hsl(259, 56%, 56%) |
| HSV | hsv(259, 60%, 81%) |
| CMYK | cmyk(41.3%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(45.02, 44.17, -58.79) |
| CIE-LCH | lch(45.02, 73.53, 306.92°) |
| OKLab | oklab(54.48% 0.0744 -0.1675) |
| OKLCH | oklch(54.48% 0.183 293.9) |
| XYZ | xyz(22.0400, 14.5552, 60.0288) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.34
Slate Blue
#6A5ACD
ΔE00 3.77
Purpley
#8756E4
ΔE00 4.18
Iris
#6258C4
ΔE00 4.95
Dark Periwinkle
#665FD1
ΔE00 5.55
Bluey Purple
#6241C7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7952CE #A7CE52
analogous
#5269CE #7952CE #B752CE
triadic
#7952CE #CE7952 #52CE79
tetradic
#7952CE #CE5269 #A7CE52 #52CEB7
square
#7952CE #CE5269 #A7CE52 #52CEB7
split-complementary
#7952CE #CEB752 #69CE52
monochromatic
#422581 #5A32B1 #7952CE #9E82DC #C3B1E9
Accessibility & contrast
On white
5.37
#7952CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#7952CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7952CE
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7952CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7952CE | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0768CB
Tritanopia (blue-blind)
#626E88
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7952ce; /* rgb */ color: rgb(121, 82, 206); /* oklch */ color: oklch(54.5% 0.183 293.9);
Tailwind
colors: {
custom: {
50: '#a584de',
500: '#7952ce',
950: '#000000',
},
}SCSS
$custom: #7952ce; $custom-light: #a584de; $custom-dark: #000000;
JSON
{
"hex": "#7952ce",
"rgb": {
"r": 121,
"g": 82,
"b": 206
},
"hsl": {
"h": 258.871,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.54479,
"c": 0.18329,
"h": 293.9
},
"luminance": 0.14556
}Semantic roles & 50–950 ramp
primary
#7952CE
secondary
#C7D7A4
accent
#DF49B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83