#7957F3#7957F3
#7957F3 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.222 H 287.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7957F3 |
|---|---|
| RGB | rgb(121, 87, 243) |
| HSL | hsl(253, 87%, 65%) |
| HSV | hsv(253, 64%, 95%) |
| CMYK | cmyk(50.2%, 64.2%, 0%, 4.7%) |
| CIE-LAB | lab(48.70, 51.69, -73.81) |
| CIE-LCH | lch(48.70, 90.11, 305.00°) |
| OKLab | oklab(57.99% 0.0662 -0.2117) |
| OKLCH | oklch(57.99% 0.222 287.4) |
| XYZ | xyz(27.4663, 17.3511, 86.6785) |
| Luminance | 0.1735 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.18
Mediumslateblue
#7B68EE
ΔE00 4.67
Light Indigo
#6D5ACF
ΔE00 5.32
Slate Blue
#6A5ACD
ΔE00 5.80
Dark Periwinkle
#665FD1
ΔE00 6.01
Purpleish Blue
#6140EF
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7957F3 #D1F357
analogous
#5783F3 #7957F3 #C757F3
triadic
#7957F3 #F37957 #57F379
tetradic
#7957F3 #F35783 #D1F357 #57F3C7
square
#7957F3 #F35783 #D1F357 #57F3C7
split-complementary
#7957F3 #F3C757 #83F357
monochromatic
#350EC2 #4B1EEF #7957F3 #A790F7 #D4C9FB
Accessibility & contrast
On white
4.70
#7957F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7957F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7957F3
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7957F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7957F3 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F8
Deuteranopia (green-blind)
#006FF0
Tritanopia (blue-blind)
#4C7D9D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7957f3; /* rgb */ color: rgb(121, 87, 243); /* oklch */ color: oklch(58.0% 0.222 287.4);
Tailwind
colors: {
custom: {
50: '#a988f8',
500: '#7957f3',
950: '#000000',
},
}SCSS
$custom: #7957f3; $custom-light: #a988f8; $custom-dark: #000000;
JSON
{
"hex": "#7957f3",
"rgb": {
"r": 121,
"g": 87,
"b": 243
},
"hsl": {
"h": 253.077,
"s": 86.667,
"l": 64.706
},
"oklch": {
"l": 0.57988,
"c": 0.2218,
"h": 287.4
},
"luminance": 0.17352
}Semantic roles & 50–950 ramp
primary
#7957F3
secondary
#E2EEB8
accent
#E302B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85