#7950C8#7950C8
#7950C8 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.179 H 295.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7950C8 |
|---|---|
| RGB | rgb(121, 80, 200) |
| HSL | hsl(261, 52%, 55%) |
| HSV | hsv(261, 60%, 78%) |
| CMYK | cmyk(39.5%, 60%, 0%, 21.6%) |
| CIE-LAB | lab(44.19, 43.66, -56.66) |
| CIE-LCH | lch(44.19, 71.54, 307.62°) |
| OKLab | oklab(53.75% 0.0769 -0.1613) |
| OKLCH | oklch(53.75% 0.179 295.5) |
| XYZ | xyz(21.1764, 13.9720, 56.2135) |
| Luminance | 0.1397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.04
Slate Blue
#6A5ACD
ΔE00 4.37
Purpley
#8756E4
ΔE00 5.07
Iris
#6258C4
ΔE00 5.19
Royal Purple
#7851A9
ΔE00 5.34
Bluey Purple
#6241C7
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7950C8 #9FC850
analogous
#5063C8 #7950C8 #B550C8
triadic
#7950C8 #C87950 #50C879
tetradic
#7950C8 #C85063 #9FC850 #50C8B5
square
#7950C8 #C85063 #9FC850 #50C8B5
split-complementary
#7950C8 #C8B550 #63C850
monochromatic
#422678 #5B34A6 #7950C8 #9D7FD7 #C0ADE5
Accessibility & contrast
On white
5.53
#7950C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#7950C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7950C8
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7950C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7950C8 | 1.00 | 5.53 | 3.79 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#1567C5
Tritanopia (blue-blind)
#656A84
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7950c8; /* rgb */ color: rgb(121, 80, 200); /* oklch */ color: oklch(53.7% 0.179 295.5);
Tailwind
colors: {
custom: {
50: '#a583d9',
500: '#7950c8',
950: '#000000',
},
}SCSS
$custom: #7950c8; $custom-light: #a583d9; $custom-dark: #000000;
JSON
{
"hex": "#7950c8",
"rgb": {
"r": 121,
"g": 80,
"b": 200
},
"hsl": {
"h": 260.5,
"s": 52.174,
"l": 54.902
},
"oklch": {
"l": 0.53747,
"c": 0.17868,
"h": 295.5
},
"luminance": 0.13972
}Semantic roles & 50–950 ramp
primary
#7950C8
secondary
#C2D3A1
accent
#DC4CAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83