#9140C6#9140C6
#9140C6 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.203 H 308.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9140C6 |
|---|---|
| RGB | rgb(145, 64, 198) |
| HSL | hsl(276, 54%, 51%) |
| HSV | hsv(276, 68%, 78%) |
| CMYK | cmyk(26.8%, 67.7%, 0%, 22.4%) |
| CIE-LAB | lab(43.89, 56.55, -55.85) |
| CIE-LCH | lch(43.89, 79.48, 315.36°) |
| OKLab | oklab(54.12% 0.1273 -0.158) |
| OKLCH | oklch(54.12% 0.203 308.9) |
| XYZ | xyz(23.7014, 13.7642, 54.8233) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.32
Purply
#983FB2
ΔE00 3.97
Blueviolet
#8A2BE2
ΔE00 5.19
Vibrant Purple
#AD03DE
ΔE00 5.91
Violet (survey)
#9A0EEA
ΔE00 6.12
Darkviolet
#9400D3
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9140C6 #75C640
analogous
#4E40C6 #9140C6 #C640B8
triadic
#9140C6 #C69140 #40C691
tetradic
#9140C6 #C64E40 #75C640 #40B8C6
square
#9140C6 #C64E40 #75C640 #40B8C6
split-complementary
#9140C6 #B8C640 #40C64E
monochromatic
#4E206C #702E9B #9140C6 #AC6FD4 #C79EE2
Accessibility & contrast
On white
5.60
#9140C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#9140C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9140C6
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9140C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9140C6 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#2669C3
Tritanopia (blue-blind)
#895D7E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9140c6; /* rgb */ color: rgb(145, 64, 198); /* oklch */ color: oklch(54.1% 0.203 308.9);
Tailwind
colors: {
custom: {
50: '#b57bd8',
500: '#9140c6',
950: '#000000',
},
}SCSS
$custom: #9140c6; $custom-light: #b57bd8; $custom-dark: #000000;
JSON
{
"hex": "#9140c6",
"rgb": {
"r": 145,
"g": 64,
"b": 198
},
"hsl": {
"h": 276.269,
"s": 54.032,
"l": 51.373
},
"oklch": {
"l": 0.54115,
"c": 0.20292,
"h": 308.9
},
"luminance": 0.13764
}Semantic roles & 50–950 ramp
primary
#9140C6
secondary
#ABCE93
accent
#DD4A85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83