#9342C5#9342C5
#9342C5 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.5% C 0.200 H 309.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #9342C5 |
|---|---|
| RGB | rgb(147, 66, 197) |
| HSL | hsl(277, 53%, 52%) |
| HSV | hsv(277, 66%, 77%) |
| CMYK | cmyk(25.4%, 66.5%, 0%, 22.7%) |
| CIE-LAB | lab(44.42, 55.85, -54.40) |
| CIE-LCH | lch(44.42, 77.96, 315.75°) |
| OKLab | oklab(54.53% 0.1278 -0.1537) |
| OKLCH | oklch(54.53% 0.2 309.7) |
| XYZ | xyz(24.0569, 14.1312, 54.2728) |
| Luminance | 0.1413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.61
Purply
#983FB2
ΔE00 3.64
Blueviolet
#8A2BE2
ΔE00 5.75
Vibrant Purple
#AD03DE
ΔE00 6.03
Barney
#AC1DB8
ΔE00 6.45
Violet (survey)
#9A0EEA
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9342C5 #74C542
analogous
#5242C5 #9342C5 #C542B6
triadic
#9342C5 #C59342 #42C593
tetradic
#9342C5 #C55242 #74C542 #42B6C5
square
#9342C5 #C55242 #74C542 #42B6C5
split-complementary
#9342C5 #B6C542 #42C552
monochromatic
#4F216C #722F9A #9342C5 #AE71D3 #C9A0E2
Accessibility & contrast
On white
5.49
#9342C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#9342C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9342C5
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9342C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9342C5 | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#2E6AC2
Tritanopia (blue-blind)
#8C5D7E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9342c5; /* rgb */ color: rgb(147, 66, 197); /* oklch */ color: oklch(54.5% 0.200 309.7);
Tailwind
colors: {
custom: {
50: '#b77cd7',
500: '#9342c5',
950: '#000000',
},
}SCSS
$custom: #9342c5; $custom-light: #b77cd7; $custom-dark: #000000;
JSON
{
"hex": "#9342c5",
"rgb": {
"r": 147,
"g": 66,
"b": 197
},
"hsl": {
"h": 277.099,
"s": 53.036,
"l": 51.569
},
"oklch": {
"l": 0.54528,
"c": 0.19991,
"h": 309.7
},
"luminance": 0.14131
}Semantic roles & 50–950 ramp
primary
#9342C5
secondary
#ABCE95
accent
#DC4B83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83