#9345C2#9345C2
#9345C2 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.7% C 0.193 H 310.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9345C2 |
|---|---|
| RGB | rgb(147, 69, 194) |
| HSL | hsl(277, 51%, 52%) |
| HSV | hsv(277, 64%, 76%) |
| CMYK | cmyk(24.2%, 64.4%, 0%, 23.9%) |
| CIE-LAB | lab(44.74, 53.77, -52.15) |
| CIE-LCH | lch(44.74, 74.91, 315.88°) |
| OKLab | oklab(54.7% 0.1246 -0.1471) |
| OKLCH | oklch(54.7% 0.193 310.3) |
| XYZ | xyz(23.8965, 14.3548, 52.5404) |
| Luminance | 0.1435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.28
Purply
#983FB2
ΔE00 3.33
Blueviolet
#8A2BE2
ΔE00 6.48
Royal Purple
#7851A9
ΔE00 6.57
Deep Lavender
#8D5EB7
ΔE00 6.58
Barney
#AC1DB8
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9345C2 #74C245
analogous
#5545C2 #9345C2 #C245B3
triadic
#9345C2 #C29345 #45C293
tetradic
#9345C2 #C25545 #74C245 #45B3C2
square
#9345C2 #C25545 #74C245 #45B3C2
split-complementary
#9345C2 #B3C245 #45C255
monochromatic
#4F236A #723298 #9345C2 #AE73D1 #C9A1E0
Accessibility & contrast
On white
5.43
#9345C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#9345C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9345C2
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9345C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9345C2 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#8D5E7D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9345c2; /* rgb */ color: rgb(147, 69, 194); /* oklch */ color: oklch(54.7% 0.193 310.3);
Tailwind
colors: {
custom: {
50: '#b67ed5',
500: '#9345c2',
950: '#000000',
},
}SCSS
$custom: #9345c2; $custom-light: #b67ed5; $custom-dark: #000000;
JSON
{
"hex": "#9345c2",
"rgb": {
"r": 147,
"g": 69,
"b": 194
},
"hsl": {
"h": 277.44,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.54695,
"c": 0.19279,
"h": 310.3
},
"luminance": 0.14354
}Semantic roles & 50–950 ramp
primary
#9345C2
secondary
#ABCD96
accent
#DA4E82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83