#9156CA#9156CA
#9156CA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.3% C 0.176 H 304.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9156CA |
|---|---|
| RGB | rgb(145, 86, 202) |
| HSL | hsl(271, 52%, 56%) |
| HSV | hsv(271, 57%, 79%) |
| CMYK | cmyk(28.2%, 57.4%, 0%, 20.8%) |
| CIE-LAB | lab(48.18, 46.51, -51.26) |
| CIE-LCH | lch(48.18, 69.22, 312.22°) |
| OKLab | oklab(57.3% 0.1011 -0.1447) |
| OKLCH | oklch(57.3% 0.176 304.9) |
| XYZ | xyz(25.6632, 16.9397, 57.7834) |
| Luminance | 0.1694 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.00
Amethyst
#9B5FC0
ΔE00 4.19
Purpley
#8756E4
ΔE00 4.73
Lightish Purple
#A552E6
ΔE00 5.06
Royal Purple
#7851A9
ΔE00 6.87
Purply
#983FB2
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9156CA #8FCA56
analogous
#5756CA #9156CA #CA56C9
triadic
#9156CA #CA9156 #56CA91
tetradic
#9156CA #CA5756 #8FCA56 #56C9CA
square
#9156CA #CA5756 #8FCA56 #56C9CA
split-complementary
#9156CA #C9CA56 #56CA57
monochromatic
#54287E #7236AD #9156CA #AF85D9 #CEB3E7
Accessibility & contrast
On white
4.79
#9156CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#9156CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9156CA
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9156CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9156CA | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2771CE
Deuteranopia (green-blind)
#3F73C7
Tritanopia (blue-blind)
#876D88
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9156ca; /* rgb */ color: rgb(145, 86, 202); /* oklch */ color: oklch(57.3% 0.176 304.9);
Tailwind
colors: {
custom: {
50: '#b588db',
500: '#9156ca',
950: '#000000',
},
}SCSS
$custom: #9156ca; $custom-light: #b588db; $custom-dark: #000000;
JSON
{
"hex": "#9156ca",
"rgb": {
"r": 145,
"g": 86,
"b": 202
},
"hsl": {
"h": 270.517,
"s": 52.252,
"l": 56.471
},
"oklch": {
"l": 0.57305,
"c": 0.17647,
"h": 304.9
},
"luminance": 0.1694
}Semantic roles & 50–950 ramp
primary
#9156CA
secondary
#BDD6A6
accent
#DC4C93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83