#7556F2#7556F2
#7556F2 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.222 H 286.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7556F2 |
|---|---|
| RGB | rgb(117, 86, 242) |
| HSL | hsl(252, 86%, 64%) |
| HSV | hsv(252, 64%, 95%) |
| CMYK | cmyk(51.7%, 64.5%, 0%, 5.1%) |
| CIE-LAB | lab(48.07, 51.26, -74.29) |
| CIE-LCH | lch(48.07, 90.26, 304.60°) |
| OKLab | oklab(57.42% 0.0621 -0.2132) |
| OKLCH | oklch(57.42% 0.222 286.2) |
| XYZ | xyz(26.6862, 16.8469, 85.8328) |
| Luminance | 0.1685 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.58
Light Indigo
#6D5ACF
ΔE00 4.98
Mediumslateblue
#7B68EE
ΔE00 5.05
Slate Blue
#6A5ACD
ΔE00 5.42
Dark Periwinkle
#665FD1
ΔE00 5.65
Purpleish Blue
#6140EF
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7556F2 #D3F256
analogous
#5685F2 #7556F2 #C356F2
triadic
#7556F2 #F27556 #56F275
tetradic
#7556F2 #F25685 #D3F256 #56F2C3
square
#7556F2 #F25685 #D3F256 #56F2C3
split-complementary
#7556F2 #F2C356 #85F256
monochromatic
#320FBF #471DEE #7556F2 #A38FF6 #D2C8FB
Accessibility & contrast
On white
4.81
#7556F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#7556F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7556F2
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7556F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7556F2 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#447D9D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7556f2; /* rgb */ color: rgb(117, 86, 242); /* oklch */ color: oklch(57.4% 0.222 286.2);
Tailwind
colors: {
custom: {
50: '#a787f7',
500: '#7556f2',
950: '#000000',
},
}SCSS
$custom: #7556f2; $custom-light: #a787f7; $custom-dark: #000000;
JSON
{
"hex": "#7556f2",
"rgb": {
"r": 117,
"g": 86,
"b": 242
},
"hsl": {
"h": 251.923,
"s": 85.714,
"l": 64.314
},
"oklch": {
"l": 0.57421,
"c": 0.22208,
"h": 286.2
},
"luminance": 0.16848
}Semantic roles & 50–950 ramp
primary
#7556F2
secondary
#E2EDB7
accent
#E203B6
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110B17
muted
#807C85