#7A56ED#7A56ED
#7A56ED is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.216 H 288.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7A56ED |
|---|---|
| RGB | rgb(122, 86, 237) |
| HSL | hsl(254, 81%, 63%) |
| HSV | hsv(254, 64%, 93%) |
| CMYK | cmyk(48.5%, 63.7%, 0%, 7.1%) |
| CIE-LAB | lab(48.14, 50.72, -71.35) |
| CIE-LCH | lch(48.14, 87.54, 305.41°) |
| OKLab | oklab(57.47% 0.0692 -0.2044) |
| OKLCH | oklch(57.47% 0.216 288.7) |
| XYZ | xyz(26.6355, 16.9064, 81.9642) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.60
Light Indigo
#6D5ACF
ΔE00 4.73
Mediumslateblue
#7B68EE
ΔE00 5.06
Slate Blue
#6A5ACD
ΔE00 5.24
Dark Periwinkle
#665FD1
ΔE00 5.70
Purpleish Blue
#6140EF
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A56ED #C9ED56
analogous
#567DED #7A56ED #C656ED
triadic
#7A56ED #ED7A56 #56ED7A
tetradic
#7A56ED #ED567D #C9ED56 #56EDC6
square
#7A56ED #ED567D #C9ED56 #56EDC6
split-complementary
#7A56ED #EDC656 #7DED56
monochromatic
#3A13B5 #4E1FE7 #7A56ED #A68DF3 #D1C5F9
Accessibility & contrast
On white
4.79
#7A56ED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#7A56ED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A56ED
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A56ED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A56ED | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#006EEA
Tritanopia (blue-blind)
#537B9A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7a56ed; /* rgb */ color: rgb(122, 86, 237); /* oklch */ color: oklch(57.5% 0.216 288.7);
Tailwind
colors: {
custom: {
50: '#a988f4',
500: '#7a56ed',
950: '#000000',
},
}SCSS
$custom: #7a56ed; $custom-light: #a988f4; $custom-dark: #000000;
JSON
{
"hex": "#7a56ed",
"rgb": {
"r": 122,
"g": 86,
"b": 237
},
"hsl": {
"h": 254.305,
"s": 80.749,
"l": 63.333
},
"oklch": {
"l": 0.57467,
"c": 0.21579,
"h": 288.7
},
"luminance": 0.16908
}Semantic roles & 50–950 ramp
primary
#7A56ED
secondary
#DDEAB4
accent
#DD08AA
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85