#9342BF#9342BF
#9342BF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.194 H 311.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9342BF |
|---|---|
| RGB | rgb(147, 66, 191) |
| HSL | hsl(279, 49%, 50%) |
| HSV | hsv(279, 65%, 75%) |
| CMYK | cmyk(23%, 65.4%, 0%, 25.1%) |
| CIE-LAB | lab(44.03, 54.53, -51.53) |
| CIE-LCH | lch(44.03, 75.03, 316.62°) |
| OKLab | oklab(54.13% 0.1282 -0.1453) |
| OKLCH | oklch(54.13% 0.194 311.4) |
| XYZ | xyz(23.3831, 13.8616, 50.7239) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.73
Darkorchid
#9932CC
ΔE00 2.98
Barney
#AC1DB8
ΔE00 6.00
Vibrant Purple
#AD03DE
ΔE00 6.42
Medium Purple
#9E43A2
ΔE00 6.46
Blueviolet
#8A2BE2
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9342BF #6EBF42
analogous
#5442BF #9342BF #BF42AC
triadic
#9342BF #BF9342 #42BF93
tetradic
#9342BF #BF5442 #6EBF42 #42ACBF
square
#9342BF #BF5442 #6EBF42 #42ACBF
split-complementary
#9342BF #ACBF42 #42BF54
monochromatic
#4D2265 #703292 #9342BF #AD70CE #C79DDE
Accessibility & contrast
On white
5.57
#9342BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#9342BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9342BF
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9342BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9342BF | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#356ABC
Tritanopia (blue-blind)
#8E5B7B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9342bf; /* rgb */ color: rgb(147, 66, 191); /* oklch */ color: oklch(54.1% 0.194 311.4);
Tailwind
colors: {
custom: {
50: '#b67cd3',
500: '#9342bf',
950: '#000000',
},
}SCSS
$custom: #9342bf; $custom-light: #b67cd3; $custom-dark: #000000;
JSON
{
"hex": "#9342bf",
"rgb": {
"r": 147,
"g": 66,
"b": 191
},
"hsl": {
"h": 278.88,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.54127,
"c": 0.19379,
"h": 311.4
},
"luminance": 0.13861
}Semantic roles & 50–950 ramp
primary
#9342BF
secondary
#A6CA93
accent
#D94F7F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83