#7156F6#7156F6
#7156F6 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.227 H 284.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7156F6 |
|---|---|
| RGB | rgb(113, 86, 246) |
| HSL | hsl(250, 90%, 65%) |
| HSV | hsv(250, 65%, 96%) |
| CMYK | cmyk(54.1%, 65%, 0%, 3.5%) |
| CIE-LAB | lab(48.03, 51.74, -76.61) |
| CIE-LCH | lch(48.03, 92.44, 304.04°) |
| OKLab | oklab(57.41% 0.0564 -0.2201) |
| OKLCH | oklch(57.41% 0.227 284.4) |
| XYZ | xyz(26.7673, 16.8186, 89.0068) |
| Luminance | 0.1682 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.32
Mediumslateblue
#7B68EE
ΔE00 5.17
Light Indigo
#6D5ACF
ΔE00 5.31
Slate Blue
#6A5ACD
ΔE00 5.69
Dark Periwinkle
#665FD1
ΔE00 5.75
Purpleish Blue
#6140EF
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7156F6 #DBF656
analogous
#568BF6 #7156F6 #C156F6
triadic
#7156F6 #F67156 #56F671
tetradic
#7156F6 #F6568B #DBF656 #56F6C1
square
#7156F6 #F6568B #DBF656 #56F6C1
split-complementary
#7156F6 #F6C156 #8BF656
monochromatic
#2A0BC7 #401CF3 #7156F6 #A290F9 #D3CAFC
Accessibility & contrast
On white
4.81
#7156F6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#7156F6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7156F6
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7156F6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7156F6 | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#006DF3
Tritanopia (blue-blind)
#357E9F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7156f6; /* rgb */ color: rgb(113, 86, 246); /* oklch */ color: oklch(57.4% 0.227 284.4);
Tailwind
colors: {
custom: {
50: '#a587fa',
500: '#7156f6',
950: '#000000',
},
}SCSS
$custom: #7156f6; $custom-light: #a587fa; $custom-dark: #000000;
JSON
{
"hex": "#7156f6",
"rgb": {
"r": 113,
"g": 86,
"b": 246
},
"hsl": {
"h": 250.125,
"s": 89.888,
"l": 65.098
},
"oklch": {
"l": 0.57407,
"c": 0.22725,
"h": 284.4
},
"luminance": 0.1682
}Semantic roles & 50–950 ramp
primary
#7156F6
secondary
#E6EFB9
accent
#E600BF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#110B17
muted
#807C85