#7952CA#7952CA
#7952CA is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.2% C 0.178 H 294.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7952CA |
|---|---|
| RGB | rgb(121, 82, 202) |
| HSL | hsl(260, 53%, 56%) |
| HSV | hsv(260, 59%, 79%) |
| CMYK | cmyk(40.1%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(44.75, 43.08, -56.92) |
| CIE-LCH | lch(44.75, 71.39, 307.12°) |
| OKLab | oklab(54.2% 0.0745 -0.162) |
| OKLCH | oklch(54.2% 0.178 294.7) |
| XYZ | xyz(21.5603, 14.3633, 57.5021) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.53
Slate Blue
#6A5ACD
ΔE00 3.91
Purpley
#8756E4
ΔE00 4.63
Iris
#6258C4
ΔE00 4.92
Royal Purple
#7851A9
ΔE00 5.65
Dark Periwinkle
#665FD1
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7952CA #A3CA52
analogous
#5267CA #7952CA #B552CA
triadic
#7952CA #CA7952 #52CA79
tetradic
#7952CA #CA5267 #A3CA52 #52CAB5
square
#7952CA #CA5267 #A3CA52 #52CAB5
split-complementary
#7952CA #CAB552 #67CA52
monochromatic
#42267C #5B34AB #7952CA #9D81D8 #C2B0E7
Accessibility & contrast
On white
5.42
#7952CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#7952CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7952CA
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7952CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7952CA | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#1668C7
Tritanopia (blue-blind)
#646C86
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7952ca; /* rgb */ color: rgb(121, 82, 202); /* oklch */ color: oklch(54.2% 0.178 294.7);
Tailwind
colors: {
custom: {
50: '#a584db',
500: '#7952ca',
950: '#000000',
},
}SCSS
$custom: #7952ca; $custom-light: #a584db; $custom-dark: #000000;
JSON
{
"hex": "#7952ca",
"rgb": {
"r": 121,
"g": 82,
"b": 202
},
"hsl": {
"h": 259.5,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.54196,
"c": 0.17834,
"h": 294.7
},
"luminance": 0.14364
}Semantic roles & 50–950 ramp
primary
#7952CA
secondary
#C5D5A3
accent
#DD4BAD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83