#7950BE#7950BE
#7950BE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.166 H 297.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7950BE |
|---|---|
| RGB | rgb(121, 80, 190) |
| HSL | hsl(262, 46%, 53%) |
| HSV | hsv(262, 58%, 75%) |
| CMYK | cmyk(36.3%, 57.9%, 0%, 25.5%) |
| CIE-LAB | lab(43.54, 41.00, -51.92) |
| CIE-LCH | lch(43.54, 66.16, 308.30°) |
| OKLab | oklab(53.06% 0.0772 -0.1473) |
| OKLCH | oklch(53.06% 0.166 297.6) |
| XYZ | xyz(20.0458, 13.5197, 50.2587) |
| Luminance | 0.1352 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.75
Light Indigo
#6D5ACF
ΔE00 4.95
Slate Blue
#6A5ACD
ΔE00 5.16
Iris
#6258C4
ΔE00 5.59
Bluey Purple
#6241C7
ΔE00 5.92
Purpley
#8756E4
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7950BE #95BE50
analogous
#505EBE #7950BE #B050BE
triadic
#7950BE #BE7950 #50BE79
tetradic
#7950BE #BE505E #95BE50 #50BEB0
square
#7950BE #BE505E #95BE50 #50BEB0
split-complementary
#7950BE #BEB050 #5EBE50
monochromatic
#41286C #5C3998 #7950BE #9B7DCF #BDA9DF
Accessibility & contrast
On white
5.67
#7950BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#7950BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7950BE
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7950BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7950BE | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1667C2
Deuteranopia (green-blind)
#2966BC
Tritanopia (blue-blind)
#69677F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7950be; /* rgb */ color: rgb(121, 80, 190); /* oklch */ color: oklch(53.1% 0.166 297.6);
Tailwind
colors: {
custom: {
50: '#a483d2',
500: '#7950be',
950: '#000000',
},
}SCSS
$custom: #7950be; $custom-light: #a483d2; $custom-dark: #000000;
JSON
{
"hex": "#7950be",
"rgb": {
"r": 121,
"g": 80,
"b": 190
},
"hsl": {
"h": 262.364,
"s": 45.833,
"l": 52.941
},
"oklch": {
"l": 0.53057,
"c": 0.1663,
"h": 297.6
},
"luminance": 0.1352
}Semantic roles & 50–950 ramp
primary
#7950BE
secondary
#BBCD9D
accent
#D552A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83