#7952BF#7952BF
#7952BF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.4% C 0.165 H 297.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7952BF |
|---|---|
| RGB | rgb(121, 82, 191) |
| HSL | hsl(261, 46%, 54%) |
| HSV | hsv(261, 57%, 75%) |
| CMYK | cmyk(36.6%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(44.03, 40.13, -51.70) |
| CIE-LCH | lch(44.03, 65.45, 307.82°) |
| OKLab | oklab(53.44% 0.0747 -0.1467) |
| OKLCH | oklch(53.44% 0.165 297) |
| XYZ | xyz(20.3040, 13.8608, 50.8858) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.90
Light Indigo
#6D5ACF
ΔE00 4.52
Slate Blue
#6A5ACD
ΔE00 4.75
Iris
#6258C4
ΔE00 5.28
Purpley
#8756E4
ΔE00 6.05
Deep Lavender
#8D5EB7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7952BF #98BF52
analogous
#5261BF #7952BF #AF52BF
triadic
#7952BF #BF7952 #52BF79
tetradic
#7952BF #BF5261 #98BF52 #52BFAF
square
#7952BF #BF5261 #98BF52 #52BFAF
split-complementary
#7952BF #BFAF52 #61BF52
monochromatic
#41296E #5C399B #7952BF #9C7FD0 #BEABE0
Accessibility & contrast
On white
5.57
#7952BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#7952BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7952BF
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7952BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7952BF | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B69C3
Deuteranopia (green-blind)
#2B67BD
Tritanopia (blue-blind)
#696980
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7952bf; /* rgb */ color: rgb(121, 82, 191); /* oklch */ color: oklch(53.4% 0.165 297.0);
Tailwind
colors: {
custom: {
50: '#a484d3',
500: '#7952bf',
950: '#000000',
},
}SCSS
$custom: #7952bf; $custom-light: #a484d3; $custom-dark: #000000;
JSON
{
"hex": "#7952bf",
"rgb": {
"r": 121,
"g": 82,
"b": 191
},
"hsl": {
"h": 261.468,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.53442,
"c": 0.1646,
"h": 297
},
"luminance": 0.13861
}Semantic roles & 50–950 ramp
primary
#7952BF
secondary
#BDCE9F
accent
#D652A7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83