#7A56EA#7A56EA
#7A56EA is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.2% C 0.212 H 289.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7A56EA |
|---|---|
| RGB | rgb(122, 86, 234) |
| HSL | hsl(255, 78%, 63%) |
| HSV | hsv(255, 63%, 92%) |
| CMYK | cmyk(47.9%, 63.2%, 0%, 8.2%) |
| CIE-LAB | lab(47.92, 49.89, -70.02) |
| CIE-LCH | lch(47.92, 85.97, 305.47°) |
| OKLab | oklab(57.24% 0.0694 -0.2005) |
| OKLCH | oklch(57.24% 0.212 289.1) |
| XYZ | xyz(26.2008, 16.7326, 79.6751) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.44
Light Indigo
#6D5ACF
ΔE00 4.41
Slate Blue
#6A5ACD
ΔE00 4.94
Mediumslateblue
#7B68EE
ΔE00 5.17
Dark Periwinkle
#665FD1
ΔE00 5.49
Purpleish Blue
#6140EF
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A56EA #C6EA56
analogous
#567CEA #7A56EA #C456EA
triadic
#7A56EA #EA7A56 #56EA7A
tetradic
#7A56EA #EA567C #C6EA56 #56EAC4
square
#7A56EA #EA567C #C6EA56 #56EAC4
split-complementary
#7A56EA #EAC456 #7CEA56
monochromatic
#3B16B0 #4F20E3 #7A56EA #A58CF1 #D0C3F8
Accessibility & contrast
On white
4.83
#7A56EA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#7A56EA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A56EA
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A56EA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A56EA | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#557998
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7a56ea; /* rgb */ color: rgb(122, 86, 234); /* oklch */ color: oklch(57.2% 0.212 289.1);
Tailwind
colors: {
custom: {
50: '#a987f2',
500: '#7a56ea',
950: '#000000',
},
}SCSS
$custom: #7a56ea; $custom-light: #a987f2; $custom-dark: #000000;
JSON
{
"hex": "#7a56ea",
"rgb": {
"r": 122,
"g": 86,
"b": 234
},
"hsl": {
"h": 254.595,
"s": 77.895,
"l": 62.745
},
"oklch": {
"l": 0.57238,
"c": 0.21218,
"h": 289.1
},
"luminance": 0.16734
}Semantic roles & 50–950 ramp
primary
#7A56EA
secondary
#DCE9B3
accent
#DA0BA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85