#7950BC#7950BC
#7950BC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.164 H 298.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7950BC |
|---|---|
| RGB | rgb(121, 80, 188) |
| HSL | hsl(263, 45%, 53%) |
| HSV | hsv(263, 57%, 74%) |
| CMYK | cmyk(35.6%, 57.4%, 0%, 26.3%) |
| CIE-LAB | lab(43.41, 40.47, -50.96) |
| CIE-LCH | lch(43.41, 65.07, 308.46°) |
| OKLab | oklab(52.92% 0.0772 -0.1445) |
| OKLCH | oklch(52.92% 0.164 298.1) |
| XYZ | xyz(19.8287, 13.4329, 49.1153) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.42
Light Indigo
#6D5ACF
ΔE00 5.18
Slate Blue
#6A5ACD
ΔE00 5.38
Iris
#6258C4
ΔE00 5.73
Bluey Purple
#6241C7
ΔE00 6.06
Deep Lavender
#8D5EB7
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7950BC #93BC50
analogous
#505DBC #7950BC #AF50BC
triadic
#7950BC #BC7950 #50BC79
tetradic
#7950BC #BC505D #93BC50 #50BCAF
square
#7950BC #BC505D #93BC50 #50BCAF
split-complementary
#7950BC #BCAF50 #5DBC50
monochromatic
#412869 #5C3996 #7950BC #9B7CCD #BDA9DE
Accessibility & contrast
On white
5.70
#7950BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#7950BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7950BC
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7950BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7950BC | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A67C0
Deuteranopia (green-blind)
#2B65BA
Tritanopia (blue-blind)
#6A667E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7950bc; /* rgb */ color: rgb(121, 80, 188); /* oklch */ color: oklch(52.9% 0.164 298.1);
Tailwind
colors: {
custom: {
50: '#a483d1',
500: '#7950bc',
950: '#000000',
},
}SCSS
$custom: #7950bc; $custom-light: #a483d1; $custom-dark: #000000;
JSON
{
"hex": "#7950bc",
"rgb": {
"r": 121,
"g": 80,
"b": 188
},
"hsl": {
"h": 262.778,
"s": 44.628,
"l": 52.549
},
"oklch": {
"l": 0.52922,
"c": 0.1638,
"h": 298.1
},
"luminance": 0.13433
}Semantic roles & 50–950 ramp
primary
#7950BC
secondary
#BACB9C
accent
#D453A3
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82