#9342CE#9342CE
#9342CE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.209 H 307.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9342CE |
|---|---|
| RGB | rgb(147, 66, 206) |
| HSL | hsl(275, 59%, 53%) |
| HSV | hsv(275, 68%, 81%) |
| CMYK | cmyk(28.6%, 68%, 0%, 19.2%) |
| CIE-LAB | lab(45.02, 57.85, -58.64) |
| CIE-LCH | lch(45.02, 82.37, 314.61°) |
| OKLab | oklab(55.15% 0.1269 -0.1662) |
| OKLCH | oklch(55.15% 0.209 307.4) |
| XYZ | xyz(25.1191, 14.5560, 59.8669) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.70
Blueviolet
#8A2BE2
ΔE00 4.91
Purply
#983FB2
ΔE00 4.99
Vibrant Purple
#AD03DE
ΔE00 5.71
Violet (survey)
#9A0EEA
ΔE00 5.78
Purpley
#8756E4
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9342CE #7DCE42
analogous
#4D42CE #9342CE #CE42C3
triadic
#9342CE #CE9342 #42CE93
tetradic
#9342CE #CE4D42 #7DCE42 #42C3CE
square
#9342CE #CE4D42 #7DCE42 #42C3CE
split-complementary
#9342CE #C3CE42 #42CE4D
monochromatic
#521F77 #732BA7 #9342CE #AF73DB #CBA3E7
Accessibility & contrast
On white
5.37
#9342CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#9342CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9342CE
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9342CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9342CE | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#1F6BCB
Tritanopia (blue-blind)
#896183
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9342ce; /* rgb */ color: rgb(147, 66, 206); /* oklch */ color: oklch(55.1% 0.209 307.4);
Tailwind
colors: {
custom: {
50: '#b77cde',
500: '#9342ce',
950: '#000000',
},
}SCSS
$custom: #9342ce; $custom-light: #b77cde; $custom-dark: #000000;
JSON
{
"hex": "#9342ce",
"rgb": {
"r": 147,
"g": 66,
"b": 206
},
"hsl": {
"h": 274.714,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.55149,
"c": 0.2091,
"h": 307.4
},
"luminance": 0.14556
}Semantic roles & 50–950 ramp
primary
#9342CE
secondary
#B1D498
accent
#E24688
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83