#8348C2#8348C2
#8348C2 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.184 H 302.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8348C2 |
|---|---|
| RGB | rgb(131, 72, 194) |
| HSL | hsl(269, 50%, 52%) |
| HSV | hsv(269, 63%, 76%) |
| CMYK | cmyk(32.5%, 62.9%, 0%, 23.9%) |
| CIE-LAB | lab(43.29, 48.66, -54.58) |
| CIE-LCH | lch(43.29, 73.12, 311.72°) |
| OKLab | oklab(53.22% 0.1 -0.1548) |
| OKLCH | oklch(53.22% 0.184 302.9) |
| XYZ | xyz(21.4128, 13.3551, 52.4782) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.92
Royal Purple
#7851A9
ΔE00 4.99
Purply
#983FB2
ΔE00 5.70
Blueviolet
#8A2BE2
ΔE00 5.96
Bluey Purple
#6241C7
ΔE00 6.41
Purpley
#8756E4
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8348C2 #87C248
analogous
#484AC2 #8348C2 #C048C2
triadic
#8348C2 #C28348 #48C283
tetradic
#8348C2 #C2484A #87C248 #48C2C0
square
#8348C2 #C2484A #87C248 #48C2C0
split-complementary
#8348C2 #C2C048 #4AC248
monochromatic
#47246C #65339A #8348C2 #A276D1 #C1A4E1
Accessibility & contrast
On white
5.72
#8348C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#8348C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8348C2
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8348C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8348C2 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#2266BF
Tritanopia (blue-blind)
#77627E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8348c2; /* rgb */ color: rgb(131, 72, 194); /* oklch */ color: oklch(53.2% 0.184 302.9);
Tailwind
colors: {
custom: {
50: '#ab7ed5',
500: '#8348c2',
950: '#000000',
},
}SCSS
$custom: #8348c2; $custom-light: #ab7ed5; $custom-dark: #000000;
JSON
{
"hex": "#8348c2",
"rgb": {
"r": 131,
"g": 72,
"b": 194
},
"hsl": {
"h": 269.016,
"s": 50,
"l": 52.157
},
"oklch": {
"l": 0.53217,
"c": 0.1843,
"h": 302.9
},
"luminance": 0.13355
}Semantic roles & 50–950 ramp
primary
#8348C2
secondary
#B4CE98
accent
#DA4E96
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110A14
muted
#807C83