#7156EF#7156EF
#7156EF is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.8% C 0.219 H 285.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7156EF |
|---|---|
| RGB | rgb(113, 86, 239) |
| HSL | hsl(251, 83%, 64%) |
| HSV | hsv(251, 64%, 94%) |
| CMYK | cmyk(52.7%, 64%, 0%, 6.3%) |
| CIE-LAB | lab(47.49, 49.71, -73.56) |
| CIE-LCH | lch(47.49, 88.78, 304.05°) |
| OKLab | oklab(56.85% 0.0572 -0.2112) |
| OKLCH | oklch(56.85% 0.219 285.2) |
| XYZ | xyz(25.7131, 16.3969, 83.4546) |
| Luminance | 0.1640 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 4.47
Slate Blue
#6A5ACD
ΔE00 4.86
Dark Periwinkle
#665FD1
ΔE00 5.09
Mediumslateblue
#7B68EE
ΔE00 5.31
Purpleish Blue
#6140EF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7156EF #D4EF56
analogous
#5687EF #7156EF #BD56EF
triadic
#7156EF #EF7156 #56EF71
tetradic
#7156EF #EF5687 #D4EF56 #56EFBD
square
#7156EF #EF5687 #D4EF56 #56EFBD
split-complementary
#7156EF #EFBD56 #87EF56
monochromatic
#2F12B9 #421EEA #7156EF #A08EF4 #CFC6FA
Accessibility & contrast
On white
4.91
#7156EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#7156EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7156EF
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7156EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7156EF | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#3C7C9B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7156ef; /* rgb */ color: rgb(113, 86, 239); /* oklch */ color: oklch(56.8% 0.219 285.2);
Tailwind
colors: {
custom: {
50: '#a487f5',
500: '#7156ef',
950: '#000000',
},
}SCSS
$custom: #7156ef; $custom-light: #a487f5; $custom-dark: #000000;
JSON
{
"hex": "#7156ef",
"rgb": {
"r": 113,
"g": 86,
"b": 239
},
"hsl": {
"h": 250.588,
"s": 82.703,
"l": 63.725
},
"oklch": {
"l": 0.56848,
"c": 0.21882,
"h": 285.2
},
"luminance": 0.16398
}Semantic roles & 50–950 ramp
primary
#7156EF
secondary
#E2EBB5
accent
#DF06B9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85