#7956E9#7956E9
#7956E9 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.1% C 0.211 H 288.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7956E9 |
|---|---|
| RGB | rgb(121, 86, 233) |
| HSL | hsl(254, 77%, 63%) |
| HSV | hsv(254, 63%, 91%) |
| CMYK | cmyk(48.1%, 63.1%, 0%, 8.6%) |
| CIE-LAB | lab(47.76, 49.42, -69.73) |
| CIE-LCH | lch(47.76, 85.47, 305.33°) |
| OKLab | oklab(57.07% 0.0682 -0.1997) |
| OKLCH | oklch(57.07% 0.211 288.9) |
| XYZ | xyz(25.9167, 16.6026, 78.9141) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.57
Light Indigo
#6D5ACF
ΔE00 4.22
Slate Blue
#6A5ACD
ΔE00 4.74
Mediumslateblue
#7B68EE
ΔE00 5.23
Dark Periwinkle
#665FD1
ΔE00 5.32
Purpleish Blue
#6140EF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7956E9 #C6E956
analogous
#567CE9 #7956E9 #C356E9
triadic
#7956E9 #E97956 #56E979
tetradic
#7956E9 #E9567C #C6E956 #56E9C3
square
#7956E9 #E9567C #C6E956 #56E9C3
split-complementary
#7956E9 #E9C356 #7CE956
monochromatic
#3B17AE #4E20E2 #7956E9 #A48CF0 #CFC2F7
Accessibility & contrast
On white
4.86
#7956E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#7956E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7956E9
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7956E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7956E9 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#006EE6
Tritanopia (blue-blind)
#537998
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7956e9; /* rgb */ color: rgb(121, 86, 233); /* oklch */ color: oklch(57.1% 0.211 288.9);
Tailwind
colors: {
custom: {
50: '#a887f1',
500: '#7956e9',
950: '#000000',
},
}SCSS
$custom: #7956e9; $custom-light: #a887f1; $custom-dark: #000000;
JSON
{
"hex": "#7956e9",
"rgb": {
"r": 121,
"g": 86,
"b": 233
},
"hsl": {
"h": 254.286,
"s": 76.963,
"l": 62.549
},
"oklch": {
"l": 0.57072,
"c": 0.21101,
"h": 288.9
},
"luminance": 0.16604
}Semantic roles & 50–950 ramp
primary
#7956E9
secondary
#DBE8B3
accent
#D90CA8
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110B17
muted
#807C85