#7156E4#7156E4
#7156E4 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.0% C 0.205 H 286.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7156E4 |
|---|---|
| RGB | rgb(113, 86, 228) |
| HSL | hsl(251, 72%, 62%) |
| HSV | hsv(251, 62%, 89%) |
| CMYK | cmyk(50.4%, 62.3%, 0%, 10.6%) |
| CIE-LAB | lab(46.67, 46.52, -68.71) |
| CIE-LCH | lch(46.67, 82.97, 304.10°) |
| OKLab | oklab(55.99% 0.0582 -0.1969) |
| OKLCH | oklch(55.99% 0.205 286.5) |
| XYZ | xyz(24.1373, 15.7665, 75.1552) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.14
Slate Blue
#6A5ACD
ΔE00 3.57
Purpley
#8756E4
ΔE00 3.83
Dark Periwinkle
#665FD1
ΔE00 4.19
Iris
#6258C4
ΔE00 5.24
Purpleish Blue
#6140EF
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7156E4 #C9E456
analogous
#5682E4 #7156E4 #B856E4
triadic
#7156E4 #E47156 #56E471
tetradic
#7156E4 #E45682 #C9E456 #56E4B8
square
#7156E4 #E45682 #C9E456 #56E4B8
split-complementary
#7156E4 #E4B856 #82E456
monochromatic
#351AA5 #4623DA #7156E4 #9D8BEC #CAC0F5
Accessibility & contrast
On white
5.06
#7156E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#7156E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7156E4
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7156E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7156E4 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#467895
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7156e4; /* rgb */ color: rgb(113, 86, 228); /* oklch */ color: oklch(56.0% 0.205 286.5);
Tailwind
colors: {
custom: {
50: '#a387ed',
500: '#7156e4',
950: '#000000',
},
}SCSS
$custom: #7156e4; $custom-light: #a387ed; $custom-dark: #000000;
JSON
{
"hex": "#7156e4",
"rgb": {
"r": 113,
"g": 86,
"b": 228
},
"hsl": {
"h": 251.408,
"s": 72.449,
"l": 61.569
},
"oklch": {
"l": 0.55992,
"c": 0.20535,
"h": 286.5
},
"luminance": 0.15768
}Semantic roles & 50–950 ramp
primary
#7156E4
secondary
#DBE5B0
accent
#D511AF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84