#8343C4#8343C4
#8343C4 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.193 H 303.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8343C4 |
|---|---|
| RGB | rgb(131, 67, 196) |
| HSL | hsl(270, 52%, 52%) |
| HSV | hsv(270, 66%, 77%) |
| CMYK | cmyk(33.2%, 65.8%, 0%, 23.1%) |
| CIE-LAB | lab(42.50, 51.69, -57.02) |
| CIE-LCH | lch(42.50, 76.97, 312.19°) |
| OKLab | oklab(52.69% 0.1056 -0.162) |
| OKLCH | oklch(52.69% 0.193 303.1) |
| XYZ | xyz(21.3287, 12.8251, 53.5657) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.28
Blueviolet
#8A2BE2
ΔE00 5.01
Purply
#983FB2
ΔE00 5.74
Royal Purple
#7851A9
ΔE00 5.80
Bluey Purple
#6241C7
ΔE00 6.02
Bluish Purple
#703BE7
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8343C4 #84C443
analogous
#4344C4 #8343C4 #C343C4
triadic
#8343C4 #C48343 #43C483
tetradic
#8343C4 #C44344 #84C443 #43C4C3
square
#8343C4 #C44344 #84C443 #43C4C3
split-complementary
#8343C4 #C4C343 #44C443
monochromatic
#46226B #64309A #8343C4 #A272D3 #C0A0E1
Accessibility & contrast
On white
5.89
#8343C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#8343C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8343C4
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8343C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8343C4 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#1264C1
Tritanopia (blue-blind)
#76607E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8343c4; /* rgb */ color: rgb(131, 67, 196); /* oklch */ color: oklch(52.7% 0.193 303.1);
Tailwind
colors: {
custom: {
50: '#ac7bd7',
500: '#8343c4',
950: '#000000',
},
}SCSS
$custom: #8343c4; $custom-light: #ac7bd7; $custom-dark: #000000;
JSON
{
"hex": "#8343c4",
"rgb": {
"r": 131,
"g": 67,
"b": 196
},
"hsl": {
"h": 269.767,
"s": 52.227,
"l": 51.569
},
"oklch": {
"l": 0.52687,
"c": 0.19334,
"h": 303.1
},
"luminance": 0.12825
}Semantic roles & 50–950 ramp
primary
#8343C4
secondary
#B2CE95
accent
#DC4C94
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83