#7156F3#7156F3
#7156F3 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.224 H 284.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7156F3 |
|---|---|
| RGB | rgb(113, 86, 243) |
| HSL | hsl(250, 87%, 65%) |
| HSV | hsv(250, 65%, 95%) |
| CMYK | cmyk(53.5%, 64.6%, 0%, 4.7%) |
| CIE-LAB | lab(47.80, 50.87, -75.31) |
| CIE-LCH | lch(47.80, 90.88, 304.04°) |
| OKLab | oklab(57.17% 0.0568 -0.2163) |
| OKLCH | oklch(57.17% 0.224 284.7) |
| XYZ | xyz(26.3106, 16.6359, 86.6013) |
| Luminance | 0.1664 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.17
Light Indigo
#6D5ACF
ΔE00 4.95
Mediumslateblue
#7B68EE
ΔE00 5.21
Slate Blue
#6A5ACD
ΔE00 5.33
Dark Periwinkle
#665FD1
ΔE00 5.46
Purpleish Blue
#6140EF
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7156F3 #D8F356
analogous
#568AF3 #7156F3 #BF56F3
triadic
#7156F3 #F37156 #56F371
tetradic
#7156F3 #F3568A #D8F356 #56F3BF
square
#7156F3 #F3568A #D8F356 #56F3BF
split-complementary
#7156F3 #F3BF56 #8AF356
monochromatic
#2D0EC1 #411DEF #7156F3 #A18FF7 #D1C8FB
Accessibility & contrast
On white
4.85
#7156F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#7156F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7156F3
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7156F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7156F3 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F8
Deuteranopia (green-blind)
#006CF0
Tritanopia (blue-blind)
#387D9D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7156f3; /* rgb */ color: rgb(113, 86, 243); /* oklch */ color: oklch(57.2% 0.224 284.7);
Tailwind
colors: {
custom: {
50: '#a587f8',
500: '#7156f3',
950: '#000000',
},
}SCSS
$custom: #7156f3; $custom-light: #a587f8; $custom-dark: #000000;
JSON
{
"hex": "#7156f3",
"rgb": {
"r": 113,
"g": 86,
"b": 243
},
"hsl": {
"h": 250.318,
"s": 86.74,
"l": 64.51
},
"oklch": {
"l": 0.57166,
"c": 0.22365,
"h": 284.7
},
"luminance": 0.16637
}Semantic roles & 50–950 ramp
primary
#7156F3
secondary
#E4EDB7
accent
#E302BD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85