#7E55F2#7E55F2
#7E55F2 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.223 H 289.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7E55F2 |
|---|---|
| RGB | rgb(126, 85, 242) |
| HSL | hsl(256, 86%, 64%) |
| HSV | hsv(256, 65%, 95%) |
| CMYK | cmyk(47.9%, 64.9%, 0%, 5.1%) |
| CIE-LAB | lab(48.69, 53.37, -73.25) |
| CIE-LCH | lch(48.69, 90.63, 306.08°) |
| OKLab | oklab(58.07% 0.0749 -0.2099) |
| OKLCH | oklch(58.07% 0.223 289.6) |
| XYZ | xyz(27.8751, 17.3423, 85.8658) |
| Luminance | 0.1734 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.47
Mediumslateblue
#7B68EE
ΔE00 5.15
Light Indigo
#6D5ACF
ΔE00 5.62
Slate Blue
#6A5ACD
ΔE00 6.14
Dark Periwinkle
#665FD1
ΔE00 6.58
Purpleish Blue
#6140EF
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E55F2 #C9F255
analogous
#557BF2 #7E55F2 #CD55F2
triadic
#7E55F2 #F27E55 #55F27E
tetradic
#7E55F2 #F2557B #C9F255 #55F2CD
square
#7E55F2 #F2557B #C9F255 #55F2CD
split-complementary
#7E55F2 #F2CD55 #7BF255
monochromatic
#3C0FBE #531CEE #7E55F2 #A98EF6 #D4C7FB
Accessibility & contrast
On white
4.70
#7E55F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7E55F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E55F2
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E55F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E55F2 | 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)
#0077F7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#577B9C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7e55f2; /* rgb */ color: rgb(126, 85, 242); /* oklch */ color: oklch(58.1% 0.223 289.6);
Tailwind
colors: {
custom: {
50: '#ac87f7',
500: '#7e55f2',
950: '#000000',
},
}SCSS
$custom: #7e55f2; $custom-light: #ac87f7; $custom-dark: #000000;
JSON
{
"hex": "#7e55f2",
"rgb": {
"r": 126,
"g": 85,
"b": 242
},
"hsl": {
"h": 255.669,
"s": 85.792,
"l": 64.118
},
"oklch": {
"l": 0.58067,
"c": 0.22282,
"h": 289.6
},
"luminance": 0.17343
}Semantic roles & 50–950 ramp
primary
#7E55F2
secondary
#DEEDB6
accent
#E203A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85