#7950CA#7950CA
#7950CA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.181 H 295.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7950CA |
|---|---|
| RGB | rgb(121, 80, 202) |
| HSL | hsl(260, 54%, 55%) |
| HSV | hsv(260, 60%, 79%) |
| CMYK | cmyk(40.1%, 60.4%, 0%, 20.8%) |
| CIE-LAB | lab(44.33, 44.20, -57.60) |
| CIE-LCH | lch(44.33, 72.61, 307.50°) |
| OKLab | oklab(53.89% 0.0769 -0.164) |
| OKLCH | oklch(53.89% 0.181 295.1) |
| XYZ | xyz(21.4117, 14.0661, 57.4526) |
| Luminance | 0.1407 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.92
Slate Blue
#6A5ACD
ΔE00 4.27
Purpley
#8756E4
ΔE00 4.83
Iris
#6258C4
ΔE00 5.17
Bluey Purple
#6241C7
ΔE00 5.56
Royal Purple
#7851A9
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7950CA #A1CA50
analogous
#5064CA #7950CA #B650CA
triadic
#7950CA #CA7950 #50CA79
tetradic
#7950CA #CA5064 #A1CA50 #50CAB6
square
#7950CA #CA5064 #A1CA50 #50CAB6
split-complementary
#7950CA #CAB650 #64CA50
monochromatic
#42257A #5B33A9 #7950CA #9D7FD8 #C1AEE6
Accessibility & contrast
On white
5.51
#7950CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#7950CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7950CA
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7950CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7950CA | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0F67C7
Tritanopia (blue-blind)
#646B85
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7950ca; /* rgb */ color: rgb(121, 80, 202); /* oklch */ color: oklch(53.9% 0.181 295.1);
Tailwind
colors: {
custom: {
50: '#a583db',
500: '#7950ca',
950: '#000000',
},
}SCSS
$custom: #7950ca; $custom-light: #a583db; $custom-dark: #000000;
JSON
{
"hex": "#7950ca",
"rgb": {
"r": 121,
"g": 80,
"b": 202
},
"hsl": {
"h": 260.164,
"s": 53.509,
"l": 55.294
},
"oklch": {
"l": 0.53888,
"c": 0.18114,
"h": 295.1
},
"luminance": 0.14067
}Semantic roles & 50–950 ramp
primary
#7950CA
secondary
#C3D4A1
accent
#DD4BAC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83