#7156AF#7156AF
#7156AF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.3% C 0.137 H 295.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7156AF |
|---|---|
| RGB | rgb(113, 86, 175) |
| HSL | hsl(258, 36%, 51%) |
| HSV | hsv(258, 51%, 69%) |
| CMYK | cmyk(35.4%, 50.9%, 0%, 31.4%) |
| CIE-LAB | lab(43.15, 31.48, -43.79) |
| CIE-LCH | lch(43.15, 53.93, 305.71°) |
| OKLab | oklab(52.29% 0.0584 -0.1237) |
| OKLCH | oklch(52.29% 0.137 295.3) |
| XYZ | xyz(17.8737, 13.2611, 42.1671) |
| Luminance | 0.1326 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.72
Iris
#6258C4
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.58
Light Indigo
#6D5ACF
ΔE00 5.64
Deep Lavender
#8D5EB7
ΔE00 6.45
Dark Periwinkle
#665FD1
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7156AF #94AF56
analogous
#5667AF #7156AF #9D56AF
triadic
#7156AF #AF7156 #56AF71
tetradic
#7156AF #AF5667 #94AF56 #56AF9D
square
#7156AF #AF5667 #94AF56 #56AF9D
split-complementary
#7156AF #AF9D56 #67AF56
monochromatic
#3C2D5E #564088 #7156AF #9480C3 #B7A9D6
Accessibility & contrast
On white
5.75
#7156AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#7156AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7156AF
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7156AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7156AF | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#3B65AD
Tritanopia (blue-blind)
#63677A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7156af; /* rgb */ color: rgb(113, 86, 175); /* oklch */ color: oklch(52.3% 0.137 295.3);
Tailwind
colors: {
custom: {
50: '#9d86c7',
500: '#7156af',
950: '#000000',
},
}SCSS
$custom: #7156af; $custom-light: #9d86c7; $custom-dark: #000000;
JSON
{
"hex": "#7156af",
"rgb": {
"r": 113,
"g": 86,
"b": 175
},
"hsl": {
"h": 258.202,
"s": 35.743,
"l": 51.176
},
"oklch": {
"l": 0.52287,
"c": 0.13678,
"h": 295.3
},
"luminance": 0.13261
}Semantic roles & 50–950 ramp
primary
#7156AF
secondary
#B8C49D
accent
#CC5CAA
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0B13
muted
#7E7C82