#7952BD#7952BD
#7952BD is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.162 H 297.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7952BD |
|---|---|
| RGB | rgb(121, 82, 189) |
| HSL | hsl(262, 45%, 53%) |
| HSV | hsv(262, 57%, 74%) |
| CMYK | cmyk(36%, 56.6%, 0%, 25.9%) |
| CIE-LAB | lab(43.91, 39.60, -50.74) |
| CIE-LCH | lch(43.91, 64.37, 307.97°) |
| OKLab | oklab(53.31% 0.0747 -0.1439) |
| OKLCH | oklch(53.31% 0.162 297.4) |
| XYZ | xyz(20.0855, 13.7734, 49.7346) |
| Luminance | 0.1377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.56
Light Indigo
#6D5ACF
ΔE00 4.75
Slate Blue
#6A5ACD
ΔE00 4.97
Iris
#6258C4
ΔE00 5.42
Deep Lavender
#8D5EB7
ΔE00 6.03
Purpley
#8756E4
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7952BD #96BD52
analogous
#5260BD #7952BD #AE52BD
triadic
#7952BD #BD7952 #52BD79
tetradic
#7952BD #BD5260 #96BD52 #52BDAE
square
#7952BD #BD5260 #96BD52 #52BDAE
split-complementary
#7952BD #BDAE52 #60BD52
monochromatic
#41296C #5C3A98 #7952BD #9B7ECE #BEABDF
Accessibility & contrast
On white
5.59
#7952BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#7952BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7952BD
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7952BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7952BD | 1.00 | 5.59 | 3.75 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F68C1
Deuteranopia (green-blind)
#2E67BB
Tritanopia (blue-blind)
#69687F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7952bd; /* rgb */ color: rgb(121, 82, 189); /* oklch */ color: oklch(53.3% 0.162 297.4);
Tailwind
colors: {
custom: {
50: '#a484d1',
500: '#7952bd',
950: '#000000',
},
}SCSS
$custom: #7952bd; $custom-light: #a484d1; $custom-dark: #000000;
JSON
{
"hex": "#7952bd",
"rgb": {
"r": 121,
"g": 82,
"b": 189
},
"hsl": {
"h": 261.869,
"s": 44.77,
"l": 53.137
},
"oklch": {
"l": 0.53308,
"c": 0.16208,
"h": 297.4
},
"luminance": 0.13774
}Semantic roles & 50–950 ramp
primary
#7952BD
secondary
#BCCC9E
accent
#D453A5
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82