#7952CF#7952CF
#7952CF is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.185 H 293.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7952CF |
|---|---|
| RGB | rgb(121, 82, 207) |
| HSL | hsl(259, 57%, 57%) |
| HSV | hsv(259, 60%, 81%) |
| CMYK | cmyk(41.5%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(45.09, 44.44, -59.25) |
| CIE-LCH | lch(45.09, 74.07, 306.87°) |
| OKLab | oklab(54.55% 0.0743 -0.1689) |
| OKLCH | oklch(54.55% 0.185 293.8) |
| XYZ | xyz(22.1619, 14.6040, 60.6706) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.31
Slate Blue
#6A5ACD
ΔE00 3.75
Purpley
#8756E4
ΔE00 4.07
Iris
#6258C4
ΔE00 4.97
Dark Periwinkle
#665FD1
ΔE00 5.51
Bluish Purple
#703BE7
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7952CF #A8CF52
analogous
#526ACF #7952CF #B852CF
triadic
#7952CF #CF7952 #52CF79
tetradic
#7952CF #CF526A #A8CF52 #52CFB8
square
#7952CF #CF526A #A8CF52 #52CFB8
split-complementary
#7952CF #CFB852 #6ACF52
monochromatic
#422482 #5A31B2 #7952CF #9E82DC #C3B2EA
Accessibility & contrast
On white
5.36
#7952CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#7952CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7952CF
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7952CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7952CF | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0269CC
Tritanopia (blue-blind)
#626E89
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7952cf; /* rgb */ color: rgb(121, 82, 207); /* oklch */ color: oklch(54.5% 0.185 293.8);
Tailwind
colors: {
custom: {
50: '#a584de',
500: '#7952cf',
950: '#000000',
},
}SCSS
$custom: #7952cf; $custom-light: #a584de; $custom-dark: #000000;
JSON
{
"hex": "#7952cf",
"rgb": {
"r": 121,
"g": 82,
"b": 207
},
"hsl": {
"h": 258.72,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.5455,
"c": 0.18453,
"h": 293.8
},
"luminance": 0.14605
}Semantic roles & 50–950 ramp
primary
#7952CF
secondary
#C8D8A5
accent
#E048B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83