#7156E5#7156E5
#7156E5 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.1% C 0.207 H 286.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7156E5 |
|---|---|
| RGB | rgb(113, 86, 229) |
| HSL | hsl(251, 73%, 62%) |
| HSV | hsv(251, 62%, 90%) |
| CMYK | cmyk(50.7%, 62.4%, 0%, 10.2%) |
| CIE-LAB | lab(46.74, 46.81, -69.15) |
| CIE-LCH | lch(46.74, 83.50, 304.09°) |
| OKLab | oklab(56.07% 0.0581 -0.1982) |
| OKLCH | oklch(56.07% 0.207 286.3) |
| XYZ | xyz(24.2765, 15.8222, 75.8884) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.26
Slate Blue
#6A5ACD
ΔE00 3.68
Purpley
#8756E4
ΔE00 3.82
Dark Periwinkle
#665FD1
ΔE00 4.26
Iris
#6258C4
ΔE00 5.36
Purpleish Blue
#6140EF
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7156E5 #CAE556
analogous
#5683E5 #7156E5 #B956E5
triadic
#7156E5 #E57156 #56E571
tetradic
#7156E5 #E55683 #CAE556 #56E5B9
square
#7156E5 #E55683 #CAE556 #56E5B9
split-complementary
#7156E5 #E5B956 #83E556
monochromatic
#341AA7 #4522DC #7156E5 #9E8BED #CAC0F5
Accessibility & contrast
On white
5.04
#7156E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#7156E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7156E5
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7156E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7156E5 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#457896
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7156e5; /* rgb */ color: rgb(113, 86, 229); /* oklch */ color: oklch(56.1% 0.207 286.3);
Tailwind
colors: {
custom: {
50: '#a387ee',
500: '#7156e5',
950: '#000000',
},
}SCSS
$custom: #7156e5; $custom-light: #a387ee; $custom-dark: #000000;
JSON
{
"hex": "#7156e5",
"rgb": {
"r": 113,
"g": 86,
"b": 229
},
"hsl": {
"h": 251.329,
"s": 73.333,
"l": 61.765
},
"oklch": {
"l": 0.56069,
"c": 0.20658,
"h": 286.3
},
"luminance": 0.15823
}Semantic roles & 50–950 ramp
primary
#7156E5
secondary
#DCE6B1
accent
#D510B0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84