#7975E2#7975E2
#7975E2 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.8% C 0.161 H 282.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7975E2 |
|---|---|
| RGB | rgb(121, 117, 226) |
| HSL | hsl(242, 65%, 67%) |
| HSV | hsv(242, 48%, 89%) |
| CMYK | cmyk(46.5%, 48.2%, 0%, 11.4%) |
| CIE-LAB | lab(54.32, 29.47, -55.20) |
| CIE-LCH | lch(54.32, 62.58, 298.10°) |
| OKLab | oklab(61.79% 0.0342 -0.1569) |
| OKLCH | oklch(61.79% 0.161 282.3) |
| XYZ | xyz(27.9698, 22.2772, 74.7629) |
| Luminance | 0.2228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.28
Mediumslateblue
#7B68EE
ΔE00 4.38
Periwinkle (survey)
#8E82FE
ΔE00 6.06
Mediumpurple
#9370DB
ΔE00 6.17
Lavender Blue
#8B88F8
ΔE00 6.58
Cornflower Blue
#5170D7
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7975E2 #DEE275
analogous
#75A7E2 #7975E2 #B075E2
triadic
#7975E2 #E27975 #75E279
tetradic
#7975E2 #E275A7 #DEE275 #75E2B0
square
#7975E2 #E275A7 #DEE275 #75E2B0
split-complementary
#7975E2 #E2B075 #A7E275
monochromatic
#2C26B6 #4842D7 #7975E2 #AAA8ED #DBDAF7
Accessibility & contrast
On white
3.85
#7975E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#7975E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7975E2
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7975E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7975E2 | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4686E6
Deuteranopia (green-blind)
#3F7EE0
Tritanopia (blue-blind)
#558CA1
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7975e2; /* rgb */ color: rgb(121, 117, 226); /* oklch */ color: oklch(61.8% 0.161 282.3);
Tailwind
colors: {
custom: {
50: '#a59cec',
500: '#7975e2',
950: '#000000',
},
}SCSS
$custom: #7975e2; $custom-light: #a59cec; $custom-dark: #000000;
JSON
{
"hex": "#7975e2",
"rgb": {
"r": 121,
"g": 117,
"b": 226
},
"hsl": {
"h": 242.202,
"s": 65.269,
"l": 67.255
},
"oklch": {
"l": 0.61786,
"c": 0.16053,
"h": 282.3
},
"luminance": 0.22279
}Semantic roles & 50–950 ramp
primary
#7975E2
secondary
#E9EBC8
accent
#CD18C6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84