#7950CF#7950CF
#7950CF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.187 H 294.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7950CF |
|---|---|
| RGB | rgb(121, 80, 207) |
| HSL | hsl(259, 57%, 56%) |
| HSV | hsv(259, 61%, 81%) |
| CMYK | cmyk(41.5%, 61.4%, 0%, 18.8%) |
| CIE-LAB | lab(44.67, 45.55, -59.93) |
| CIE-LCH | lch(44.67, 75.28, 307.24°) |
| OKLab | oklab(54.25% 0.0766 -0.1709) |
| OKLCH | oklch(54.25% 0.187 294.1) |
| XYZ | xyz(22.0133, 14.3067, 60.6210) |
| Luminance | 0.1431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.71
Slate Blue
#6A5ACD
ΔE00 4.11
Purpley
#8756E4
ΔE00 4.30
Iris
#6258C4
ΔE00 5.20
Bluish Purple
#703BE7
ΔE00 5.52
Bluey Purple
#6241C7
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7950CF #A6CF50
analogous
#5067CF #7950CF #B950CF
triadic
#7950CF #CF7950 #50CF79
tetradic
#7950CF #CF5067 #A6CF50 #50CFB9
square
#7950CF #CF5067 #A6CF50 #50CFB9
split-complementary
#7950CF #CFB950 #67CF50
monochromatic
#422381 #5A31B1 #7950CF #9E80DC #C3B0E9
Accessibility & contrast
On white
5.44
#7950CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#7950CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7950CF
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7950CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7950CF | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#626D88
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7950cf; /* rgb */ color: rgb(121, 80, 207); /* oklch */ color: oklch(54.2% 0.187 294.1);
Tailwind
colors: {
custom: {
50: '#a583de',
500: '#7950cf',
950: '#000000',
},
}SCSS
$custom: #7950cf; $custom-light: #a583de; $custom-dark: #000000;
JSON
{
"hex": "#7950cf",
"rgb": {
"r": 121,
"g": 80,
"b": 207
},
"hsl": {
"h": 259.37,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.54246,
"c": 0.18725,
"h": 294.1
},
"luminance": 0.14307
}Semantic roles & 50–950 ramp
primary
#7950CF
secondary
#C7D8A3
accent
#E048AF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83