#9142BF#9142BF
#9142BF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.9% C 0.193 H 310.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9142BF |
|---|---|
| RGB | rgb(145, 66, 191) |
| HSL | hsl(278, 49%, 50%) |
| HSV | hsv(278, 65%, 75%) |
| CMYK | cmyk(24.1%, 65.4%, 0%, 25.1%) |
| CIE-LAB | lab(43.77, 54.08, -51.98) |
| CIE-LCH | lch(43.77, 75.01, 316.14°) |
| OKLab | oklab(53.88% 0.1256 -0.1467) |
| OKLCH | oklch(53.88% 0.193 310.6) |
| XYZ | xyz(23.0274, 13.6783, 50.7072) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.97
Darkorchid
#9932CC
ΔE00 2.99
Barney
#AC1DB8
ΔE00 6.25
Blueviolet
#8A2BE2
ΔE00 6.26
Royal Purple
#7851A9
ΔE00 6.43
Vibrant Purple
#AD03DE
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9142BF #70BF42
analogous
#5242BF #9142BF #BF42AE
triadic
#9142BF #BF9142 #42BF91
tetradic
#9142BF #BF5242 #70BF42 #42AEBF
square
#9142BF #BF5242 #70BF42 #42AEBF
split-complementary
#9142BF #AEBF42 #42BF52
monochromatic
#4C2265 #6F3292 #9142BF #AC70CE #C69DDE
Accessibility & contrast
On white
5.62
#9142BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#9142BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9142BF
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9142BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9142BF | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#3269BC
Tritanopia (blue-blind)
#8B5B7B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9142bf; /* rgb */ color: rgb(145, 66, 191); /* oklch */ color: oklch(53.9% 0.193 310.6);
Tailwind
colors: {
custom: {
50: '#b57cd3',
500: '#9142bf',
950: '#000000',
},
}SCSS
$custom: #9142bf; $custom-light: #b57cd3; $custom-dark: #000000;
JSON
{
"hex": "#9142bf",
"rgb": {
"r": 145,
"g": 66,
"b": 191
},
"hsl": {
"h": 277.92,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.53879,
"c": 0.19313,
"h": 310.6
},
"luminance": 0.13678
}Semantic roles & 50–950 ramp
primary
#9142BF
secondary
#A7CA93
accent
#D94F82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83