#9142C3#9142C3
#9142C3 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.197 H 309.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9142C3 |
|---|---|
| RGB | rgb(145, 66, 195) |
| HSL | hsl(277, 52%, 51%) |
| HSV | hsv(277, 66%, 76%) |
| CMYK | cmyk(25.6%, 66.2%, 0%, 23.5%) |
| CIE-LAB | lab(44.03, 54.97, -53.89) |
| CIE-LCH | lch(44.03, 76.98, 315.57°) |
| OKLab | oklab(54.15% 0.1254 -0.1523) |
| OKLCH | oklch(54.15% 0.197 309.5) |
| XYZ | xyz(23.4737, 13.8567, 53.0572) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.73
Purply
#983FB2
ΔE00 3.55
Blueviolet
#8A2BE2
ΔE00 5.77
Vibrant Purple
#AD03DE
ΔE00 6.29
Barney
#AC1DB8
ΔE00 6.54
Royal Purple
#7851A9
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9142C3 #74C342
analogous
#5042C3 #9142C3 #C342B4
triadic
#9142C3 #C39142 #42C391
tetradic
#9142C3 #C35042 #74C342 #42B4C3
square
#9142C3 #C35042 #74C342 #42B4C3
split-complementary
#9142C3 #B4C342 #42C350
monochromatic
#4D2169 #703098 #9142C3 #AC70D2 #C79FE0
Accessibility & contrast
On white
5.57
#9142C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#9142C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9142C3
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9142C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9142C3 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#2D69C0
Tritanopia (blue-blind)
#8A5D7D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9142c3; /* rgb */ color: rgb(145, 66, 195); /* oklch */ color: oklch(54.1% 0.197 309.5);
Tailwind
colors: {
custom: {
50: '#b57cd6',
500: '#9142c3',
950: '#000000',
},
}SCSS
$custom: #9142c3; $custom-light: #b57cd6; $custom-dark: #000000;
JSON
{
"hex": "#9142c3",
"rgb": {
"r": 145,
"g": 66,
"b": 195
},
"hsl": {
"h": 276.744,
"s": 51.807,
"l": 51.176
},
"oklch": {
"l": 0.54148,
"c": 0.19724,
"h": 309.5
},
"luminance": 0.13856
}Semantic roles & 50–950 ramp
primary
#9142C3
secondary
#AACD94
accent
#DB4D84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83