#7551E2#7551E2
#7551E2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.4% C 0.209 H 289.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7551E2 |
|---|---|
| RGB | rgb(117, 81, 226) |
| HSL | hsl(255, 71%, 60%) |
| HSV | hsv(255, 64%, 89%) |
| CMYK | cmyk(48.2%, 64.2%, 0%, 11.4%) |
| CIE-LAB | lab(45.85, 49.45, -68.89) |
| CIE-LCH | lch(45.85, 84.80, 305.67°) |
| OKLab | oklab(55.44% 0.0686 -0.1973) |
| OKLCH | oklch(55.44% 0.209 289.2) |
| XYZ | xyz(24.0021, 15.1568, 73.5976) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.50
Light Indigo
#6D5ACF
ΔE00 3.74
Slate Blue
#6A5ACD
ΔE00 4.18
Bluish Purple
#703BE7
ΔE00 4.92
Purpleish Blue
#6140EF
ΔE00 4.93
Dark Periwinkle
#665FD1
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7551E2 #BEE251
analogous
#5175E2 #7551E2 #BE51E2
triadic
#7551E2 #E27551 #51E275
tetradic
#7551E2 #E25175 #BEE251 #51E2BE
square
#7551E2 #E25175 #BEE251 #51E2BE
split-complementary
#7551E2 #E2BE51 #75E251
monochromatic
#3B1A9E #4F23D3 #7551E2 #9F85EB #C8BAF3
Accessibility & contrast
On white
5.21
#7551E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#7551E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7551E2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7551E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7551E2 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#507492
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7551e2; /* rgb */ color: rgb(117, 81, 226); /* oklch */ color: oklch(55.4% 0.209 289.2);
Tailwind
colors: {
custom: {
50: '#a584ec',
500: '#7551e2',
950: '#000000',
},
}SCSS
$custom: #7551e2; $custom-light: #a584ec; $custom-dark: #000000;
JSON
{
"hex": "#7551e2",
"rgb": {
"r": 117,
"g": 81,
"b": 226
},
"hsl": {
"h": 254.897,
"s": 71.429,
"l": 60.196
},
"oklch": {
"l": 0.55439,
"c": 0.20892,
"h": 289.2
},
"luminance": 0.15158
}Semantic roles & 50–950 ramp
primary
#7551E2
secondary
#D5E3AC
accent
#D312A3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84