#9156DE#9156DE
#9156DE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.200 H 300.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9156DE |
|---|---|
| RGB | rgb(145, 86, 222) |
| HSL | hsl(266, 67%, 60%) |
| HSV | hsv(266, 61%, 87%) |
| CMYK | cmyk(34.7%, 61.3%, 0%, 12.9%) |
| CIE-LAB | lab(49.43, 51.39, -60.67) |
| CIE-LCH | lch(49.43, 79.51, 310.26°) |
| OKLab | oklab(58.62% 0.1007 -0.1723) |
| OKLCH | oklch(58.62% 0.2 300.3) |
| XYZ | xyz(28.1865, 17.9490, 71.0726) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.15
Lightish Purple
#A552E6
ΔE00 3.63
Lighter Purple
#A55AF4
ΔE00 4.86
Amethyst
#9B5FC0
ΔE00 6.39
Deep Lavender
#8D5EB7
ΔE00 6.73
Light Indigo
#6D5ACF
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9156DE #A3DE56
analogous
#565FDE #9156DE #D556DE
triadic
#9156DE #DE9156 #56DE91
tetradic
#9156DE #DE565F #A3DE56 #56DED5
square
#9156DE #DE565F #A3DE56 #56DED5
split-complementary
#9156DE #DED556 #5FDE56
monochromatic
#551E9B #7028CE #9156DE #B289E8 #D4BCF2
Accessibility & contrast
On white
4.58
#9156DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#9156DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9156DE
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9156DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9156DE | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#2475DB
Tritanopia (blue-blind)
#817392
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9156de; /* rgb */ color: rgb(145, 86, 222); /* oklch */ color: oklch(58.6% 0.200 300.3);
Tailwind
colors: {
custom: {
50: '#b688e9',
500: '#9156de',
950: '#000000',
},
}SCSS
$custom: #9156de; $custom-light: #b688e9; $custom-dark: #000000;
JSON
{
"hex": "#9156de",
"rgb": {
"r": 145,
"g": 86,
"b": 222
},
"hsl": {
"h": 266.029,
"s": 67.327,
"l": 60.392
},
"oklch": {
"l": 0.58617,
"c": 0.19954,
"h": 300.3
},
"luminance": 0.17949
}Semantic roles & 50–950 ramp
primary
#9156DE
secondary
#CBE2AE
accent
#CF167F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84