#8345E6#8345E6
#8345E6 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.228 H 295.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8345E6 |
|---|---|
| RGB | rgb(131, 69, 230) |
| HSL | hsl(263, 76%, 59%) |
| HSV | hsv(263, 70%, 90%) |
| CMYK | cmyk(43%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(45.35, 59.16, -71.90) |
| CIE-LCH | lch(45.35, 93.11, 309.45°) |
| OKLab | oklab(55.51% 0.0986 -0.2057) |
| OKLCH | oklch(55.51% 0.228 295.6) |
| XYZ | xyz(25.7673, 14.7941, 76.3455) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.84
Purpley
#8756E4
ΔE00 4.03
Blueviolet
#8A2BE2
ΔE00 4.36
Purpleish Blue
#6140EF
ΔE00 5.23
Burple
#6832E3
ΔE00 6.02
Vivid Purple
#9900FA
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8345E6 #A8E645
analogous
#4557E6 #8345E6 #D445E6
triadic
#8345E6 #E68345 #45E683
tetradic
#8345E6 #E64557 #A8E645 #45E6D4
square
#8345E6 #E64557 #A8E645 #45E6D4
split-complementary
#8345E6 #E6D445 #57E645
monochromatic
#49159C #621CD2 #8345E6 #A77BED #CBB1F5
Accessibility & contrast
On white
5.30
#8345E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#8345E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8345E6
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8345E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8345E6 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0069E3
Tritanopia (blue-blind)
#686D91
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8345e6; /* rgb */ color: rgb(131, 69, 230); /* oklch */ color: oklch(55.5% 0.228 295.6);
Tailwind
colors: {
custom: {
50: '#af7def',
500: '#8345e6',
950: '#000000',
},
}SCSS
$custom: #8345e6; $custom-light: #af7def; $custom-dark: #000000;
JSON
{
"hex": "#8345e6",
"rgb": {
"r": 131,
"g": 69,
"b": 230
},
"hsl": {
"h": 263.106,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.55511,
"c": 0.22812,
"h": 295.6
},
"luminance": 0.14795
}Semantic roles & 50–950 ramp
primary
#8345E6
secondary
#CBE3A4
accent
#F335AA
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85