#8342C3#8342C3
#8342C3 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.194 H 303.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8342C3 |
|---|---|
| RGB | rgb(131, 66, 195) |
| HSL | hsl(270, 52%, 51%) |
| HSV | hsv(270, 66%, 76%) |
| CMYK | cmyk(32.8%, 66.2%, 0%, 23.5%) |
| CIE-LAB | lab(42.25, 51.95, -56.85) |
| CIE-LCH | lch(42.25, 77.00, 312.42°) |
| OKLab | oklab(52.49% 0.1068 -0.1614) |
| OKLCH | oklch(52.49% 0.194 303.5) |
| XYZ | xyz(21.1564, 12.6619, 52.9486) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.20
Blueviolet
#8A2BE2
ΔE00 5.00
Purply
#983FB2
ΔE00 5.63
Royal Purple
#7851A9
ΔE00 5.83
Bluey Purple
#6241C7
ΔE00 6.03
Bluish Purple
#703BE7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8342C3 #82C342
analogous
#4242C3 #8342C3 #C342C2
triadic
#8342C3 #C38342 #42C383
tetradic
#8342C3 #C34242 #82C342 #42C2C3
square
#8342C3 #C34242 #82C342 #42C2C3
split-complementary
#8342C3 #C2C342 #42C342
monochromatic
#462169 #643098 #8342C3 #A170D2 #C09FE0
Accessibility & contrast
On white
5.94
#8342C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8342C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8342C3
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8342C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8342C3 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#1263C0
Tritanopia (blue-blind)
#775F7D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8342c3; /* rgb */ color: rgb(131, 66, 195); /* oklch */ color: oklch(52.5% 0.194 303.5);
Tailwind
colors: {
custom: {
50: '#ac7bd6',
500: '#8342c3',
950: '#000000',
},
}SCSS
$custom: #8342c3; $custom-light: #ac7bd6; $custom-dark: #000000;
JSON
{
"hex": "#8342c3",
"rgb": {
"r": 131,
"g": 66,
"b": 195
},
"hsl": {
"h": 270.233,
"s": 51.807,
"l": 51.176
},
"oklch": {
"l": 0.52486,
"c": 0.19356,
"h": 303.5
},
"luminance": 0.12662
}Semantic roles & 50–950 ramp
primary
#8342C3
secondary
#B0CD94
accent
#DB4D93
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83