#9142CB#9142CB
#9142CB is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.7% C 0.205 H 307.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9142CB |
|---|---|
| RGB | rgb(145, 66, 203) |
| HSL | hsl(275, 57%, 53%) |
| HSV | hsv(275, 67%, 80%) |
| CMYK | cmyk(28.6%, 67.5%, 0%, 20.4%) |
| CIE-LAB | lab(44.56, 56.76, -57.67) |
| CIE-LCH | lch(44.56, 80.91, 314.54°) |
| OKLab | oklab(54.7% 0.1246 -0.1634) |
| OKLCH | oklch(54.7% 0.205 307.3) |
| XYZ | xyz(24.4025, 14.2283, 57.9491) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.66
Purply
#983FB2
ΔE00 4.72
Blueviolet
#8A2BE2
ΔE00 4.94
Vibrant Purple
#AD03DE
ΔE00 5.95
Violet (survey)
#9A0EEA
ΔE00 5.95
Purpley
#8756E4
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9142CB #7CCB42
analogous
#4D42CB #9142CB #CB42C0
triadic
#9142CB #CB9142 #42CB91
tetradic
#9142CB #CB4D42 #7CCB42 #42C0CB
square
#9142CB #CB4D42 #7CCB42 #42C0CB
split-complementary
#9142CB #C0CB42 #42CB4D
monochromatic
#502073 #712DA3 #9142CB #AD72D8 #C9A2E5
Accessibility & contrast
On white
5.46
#9142CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#9142CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9142CB
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9142CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9142CB | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#206AC8
Tritanopia (blue-blind)
#886081
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9142cb; /* rgb */ color: rgb(145, 66, 203); /* oklch */ color: oklch(54.7% 0.205 307.3);
Tailwind
colors: {
custom: {
50: '#b67cdc',
500: '#9142cb',
950: '#000000',
},
}SCSS
$custom: #9142cb; $custom-light: #b67cdc; $custom-dark: #000000;
JSON
{
"hex": "#9142cb",
"rgb": {
"r": 145,
"g": 66,
"b": 203
},
"hsl": {
"h": 274.599,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.54698,
"c": 0.20548,
"h": 307.3
},
"luminance": 0.14228
}Semantic roles & 50–950 ramp
primary
#9142CB
secondary
#B0D297
accent
#E04888
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83