#9342CF#9342CF
#9342CF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.210 H 307.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9342CF |
|---|---|
| RGB | rgb(147, 66, 207) |
| HSL | hsl(274, 59%, 54%) |
| HSV | hsv(274, 68%, 81%) |
| CMYK | cmyk(29%, 68.1%, 0%, 18.8%) |
| CIE-LAB | lab(45.09, 58.07, -59.11) |
| CIE-LCH | lch(45.09, 82.86, 314.50°) |
| OKLab | oklab(55.22% 0.1268 -0.1675) |
| OKLCH | oklch(55.22% 0.21 307.1) |
| XYZ | xyz(25.2409, 14.6048, 60.5087) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.75
Blueviolet
#8A2BE2
ΔE00 4.84
Purply
#983FB2
ΔE00 5.13
Vibrant Purple
#AD03DE
ΔE00 5.69
Violet (survey)
#9A0EEA
ΔE00 5.72
Purpley
#8756E4
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9342CF #7ECF42
analogous
#4C42CF #9342CF #CF42C5
triadic
#9342CF #CF9342 #42CF93
tetradic
#9342CF #CF4C42 #7ECF42 #42C5CF
square
#9342CF #CF4C42 #7ECF42 #42C5CF
split-complementary
#9342CF #C5CF42 #42CF4C
monochromatic
#521F78 #732BA9 #9342CF #AF73DB #CBA4E8
Accessibility & contrast
On white
5.36
#9342CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#9342CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9342CF
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9342CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9342CF | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#1C6BCC
Tritanopia (blue-blind)
#896183
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9342cf; /* rgb */ color: rgb(147, 66, 207); /* oklch */ color: oklch(55.2% 0.210 307.1);
Tailwind
colors: {
custom: {
50: '#b77cde',
500: '#9342cf',
950: '#000000',
},
}SCSS
$custom: #9342cf; $custom-light: #b77cde; $custom-dark: #000000;
JSON
{
"hex": "#9342cf",
"rgb": {
"r": 147,
"g": 66,
"b": 207
},
"hsl": {
"h": 274.468,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.55219,
"c": 0.21012,
"h": 307.1
},
"luminance": 0.14604
}Semantic roles & 50–950 ramp
primary
#9342CF
secondary
#B2D598
accent
#E34588
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83