#9142C8#9142C8
#9142C8 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.202 H 308.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9142C8 |
|---|---|
| RGB | rgb(145, 66, 200) |
| HSL | hsl(275, 55%, 52%) |
| HSV | hsv(275, 67%, 78%) |
| CMYK | cmyk(27.5%, 67%, 0%, 21.6%) |
| CIE-LAB | lab(44.36, 56.08, -56.26) |
| CIE-LCH | lch(44.36, 79.44, 314.91°) |
| OKLab | oklab(54.49% 0.1249 -0.1592) |
| OKLCH | oklch(54.49% 0.202 308.1) |
| XYZ | xyz(24.0485, 14.0867, 56.0845) |
| Luminance | 0.1409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.62
Purply
#983FB2
ΔE00 4.29
Blueviolet
#8A2BE2
ΔE00 5.22
Vibrant Purple
#AD03DE
ΔE00 6.05
Violet (survey)
#9A0EEA
ΔE00 6.20
Darkviolet
#9400D3
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9142C8 #79C842
analogous
#4E42C8 #9142C8 #C842BC
triadic
#9142C8 #C89142 #42C891
tetradic
#9142C8 #C84E42 #79C842 #42BCC8
square
#9142C8 #C84E42 #79C842 #42BCC8
split-complementary
#9142C8 #BCC842 #42C84E
monochromatic
#4F206F #702E9F #9142C8 #AD71D6 #C8A1E4
Accessibility & contrast
On white
5.50
#9142C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#9142C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9142C8
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9142C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9142C8 | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#266AC5
Tritanopia (blue-blind)
#885F80
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9142c8; /* rgb */ color: rgb(145, 66, 200); /* oklch */ color: oklch(54.5% 0.202 308.1);
Tailwind
colors: {
custom: {
50: '#b57cd9',
500: '#9142c8',
950: '#000000',
},
}SCSS
$custom: #9142c8; $custom-light: #b57cd9; $custom-dark: #000000;
JSON
{
"hex": "#9142c8",
"rgb": {
"r": 145,
"g": 66,
"b": 200
},
"hsl": {
"h": 275.373,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.5449,
"c": 0.20239,
"h": 308.1
},
"luminance": 0.14086
}Semantic roles & 50–950 ramp
primary
#9142C8
secondary
#AED096
accent
#DE4A87
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83