#7156DC#7156DC
#7156DC is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.4% C 0.195 H 287.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7156DC |
|---|---|
| RGB | rgb(113, 86, 220) |
| HSL | hsl(252, 66%, 60%) |
| HSV | hsv(252, 61%, 86%) |
| CMYK | cmyk(48.6%, 60.9%, 0%, 13.7%) |
| CIE-LAB | lab(46.09, 44.20, -65.11) |
| CIE-LCH | lch(46.09, 78.69, 304.17°) |
| OKLab | oklab(55.39% 0.0588 -0.1863) |
| OKLCH | oklch(55.39% 0.195 287.5) |
| XYZ | xyz(23.0523, 15.3326, 69.4411) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.24
Slate Blue
#6A5ACD
ΔE00 2.69
Dark Periwinkle
#665FD1
ΔE00 3.75
Purpley
#8756E4
ΔE00 4.00
Iris
#6258C4
ΔE00 4.38
Purpleish Blue
#6140EF
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7156DC #C1DC56
analogous
#567EDC #7156DC #B456DC
triadic
#7156DC #DC7156 #56DC71
tetradic
#7156DC #DC567E #C1DC56 #56DCB4
square
#7156DC #DC567E #C1DC56 #56DCB4
split-complementary
#7156DC #DCB456 #7EDC56
monochromatic
#382098 #4A2ACB #7156DC #9C89E6 #C6BBF1
Accessibility & contrast
On white
5.16
#7156DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#7156DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7156DC
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7156DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7156DC | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#4C7591
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7156dc; /* rgb */ color: rgb(113, 86, 220); /* oklch */ color: oklch(55.4% 0.195 287.5);
Tailwind
colors: {
custom: {
50: '#a287e8',
500: '#7156dc',
950: '#000000',
},
}SCSS
$custom: #7156dc; $custom-light: #a287e8; $custom-dark: #000000;
JSON
{
"hex": "#7156dc",
"rgb": {
"r": 113,
"g": 86,
"b": 220
},
"hsl": {
"h": 252.09,
"s": 65.686,
"l": 60
},
"oklch": {
"l": 0.55386,
"c": 0.19539,
"h": 287.5
},
"luminance": 0.15334
}Semantic roles & 50–950 ramp
primary
#7156DC
secondary
#D6E1AD
accent
#E93FC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84