#9159CE#9159CE
#9159CE is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.0% C 0.177 H 303.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9159CE |
|---|---|
| RGB | rgb(145, 89, 206) |
| HSL | hsl(269, 54%, 58%) |
| HSV | hsv(269, 57%, 81%) |
| CMYK | cmyk(29.6%, 56.8%, 0%, 19.2%) |
| CIE-LAB | lab(49.03, 45.87, -52.20) |
| CIE-LCH | lch(49.03, 69.49, 311.30°) |
| OKLab | oklab(58% 0.0973 -0.1474) |
| OKLCH | oklch(58% 0.177 303.4) |
| XYZ | xyz(26.3875, 17.6208, 60.3915) |
| Luminance | 0.1762 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.19
Purpley
#8756E4
ΔE00 4.19
Deep Lavender
#8D5EB7
ΔE00 4.24
Lightish Purple
#A552E6
ΔE00 4.65
Lighter Purple
#A55AF4
ΔE00 6.32
Mediumpurple
#9370DB
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9159CE #96CE59
analogous
#595BCE #9159CE #CC59CE
triadic
#9159CE #CE9159 #59CE91
tetradic
#9159CE #CE595B #96CE59 #59CECC
square
#9159CE #CE595B #96CE59 #59CECC
split-complementary
#9159CE #CECC59 #5BCE59
monochromatic
#542785 #7235B5 #9159CE #B088DC #D0B8EA
Accessibility & contrast
On white
4.64
#9159CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#9159CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9159CE
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9159CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9159CE | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2973D2
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#86708B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9159ce; /* rgb */ color: rgb(145, 89, 206); /* oklch */ color: oklch(58.0% 0.177 303.4);
Tailwind
colors: {
custom: {
50: '#b58add',
500: '#9159ce',
950: '#000000',
},
}SCSS
$custom: #9159ce; $custom-light: #b58add; $custom-dark: #000000;
JSON
{
"hex": "#9159ce",
"rgb": {
"r": 145,
"g": 89,
"b": 206
},
"hsl": {
"h": 268.718,
"s": 54.419,
"l": 57.843
},
"oklch": {
"l": 0.58004,
"c": 0.17665,
"h": 303.4
},
"luminance": 0.17621
}Semantic roles & 50–950 ramp
primary
#9159CE
secondary
#C2D9AA
accent
#DE4A97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83