#7156ED#7156ED
#7156ED is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.7% C 0.216 H 285.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7156ED |
|---|---|
| RGB | rgb(113, 86, 237) |
| HSL | hsl(251, 81%, 63%) |
| HSV | hsv(251, 64%, 93%) |
| CMYK | cmyk(52.3%, 63.7%, 0%, 7.1%) |
| CIE-LAB | lab(47.34, 49.13, -72.69) |
| CIE-LCH | lch(47.34, 87.73, 304.05°) |
| OKLab | oklab(56.69% 0.0574 -0.2086) |
| OKLCH | oklch(56.69% 0.216 285.4) |
| XYZ | xyz(25.4193, 16.2794, 81.9072) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.94
Light Indigo
#6D5ACF
ΔE00 4.23
Slate Blue
#6A5ACD
ΔE00 4.62
Dark Periwinkle
#665FD1
ΔE00 4.91
Mediumslateblue
#7B68EE
ΔE00 5.37
Purpleish Blue
#6140EF
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7156ED #D2ED56
analogous
#5686ED #7156ED #BC56ED
triadic
#7156ED #ED7156 #56ED71
tetradic
#7156ED #ED5686 #D2ED56 #56EDBC
square
#7156ED #ED5686 #D2ED56 #56EDBC
split-complementary
#7156ED #EDBC56 #86ED56
monochromatic
#3013B5 #431FE7 #7156ED #9F8DF3 #CEC5F9
Accessibility & contrast
On white
4.93
#7156ED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#7156ED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7156ED
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7156ED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7156ED | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#3E7B9A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7156ed; /* rgb */ color: rgb(113, 86, 237); /* oklch */ color: oklch(56.7% 0.216 285.4);
Tailwind
colors: {
custom: {
50: '#a487f4',
500: '#7156ed',
950: '#000000',
},
}SCSS
$custom: #7156ed; $custom-light: #a487f4; $custom-dark: #000000;
JSON
{
"hex": "#7156ed",
"rgb": {
"r": 113,
"g": 86,
"b": 237
},
"hsl": {
"h": 250.728,
"s": 80.749,
"l": 63.333
},
"oklch": {
"l": 0.56691,
"c": 0.21638,
"h": 285.4
},
"luminance": 0.16281
}Semantic roles & 50–950 ramp
primary
#7156ED
secondary
#E1EAB4
accent
#DD08B7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85