#7951BF#7951BF
#7951BF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.166 H 297.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7951BF |
|---|---|
| RGB | rgb(121, 81, 191) |
| HSL | hsl(262, 46%, 53%) |
| HSV | hsv(262, 58%, 75%) |
| CMYK | cmyk(36.6%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(43.82, 40.70, -52.05) |
| CIE-LCH | lch(43.82, 66.07, 308.02°) |
| OKLab | oklab(53.28% 0.0759 -0.1477) |
| OKLCH | oklch(53.28% 0.166 297.2) |
| XYZ | xyz(20.2292, 13.7111, 50.8608) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.90
Light Indigo
#6D5ACF
ΔE00 4.67
Slate Blue
#6A5ACD
ΔE00 4.90
Iris
#6258C4
ΔE00 5.40
Bluey Purple
#6241C7
ΔE00 6.05
Purpley
#8756E4
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7951BF #97BF51
analogous
#5160BF #7951BF #B051BF
triadic
#7951BF #BF7951 #51BF79
tetradic
#7951BF #BF5160 #97BF51 #51BFB0
square
#7951BF #BF5160 #97BF51 #51BFB0
split-complementary
#7951BF #BFB051 #60BF51
monochromatic
#41286D #5C399A #7951BF #9B7ECF #BEAAE0
Accessibility & contrast
On white
5.61
#7951BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#7951BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7951BF
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7951BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7951BF | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1868C3
Deuteranopia (green-blind)
#2966BD
Tritanopia (blue-blind)
#696880
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7951bf; /* rgb */ color: rgb(121, 81, 191); /* oklch */ color: oklch(53.3% 0.166 297.2);
Tailwind
colors: {
custom: {
50: '#a483d3',
500: '#7951bf',
950: '#000000',
},
}SCSS
$custom: #7951bf; $custom-light: #a483d3; $custom-dark: #000000;
JSON
{
"hex": "#7951bf",
"rgb": {
"r": 121,
"g": 81,
"b": 191
},
"hsl": {
"h": 261.818,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.53282,
"c": 0.16608,
"h": 297.2
},
"luminance": 0.13711
}Semantic roles & 50–950 ramp
primary
#7951BF
secondary
#BCCE9E
accent
#D652A6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83