#8348E2#8348E2
#8348E2 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.220 H 296.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8348E2 |
|---|---|
| RGB | rgb(131, 72, 226) |
| HSL | hsl(263, 73%, 58%) |
| HSV | hsv(263, 68%, 89%) |
| CMYK | cmyk(42%, 68.1%, 0%, 11.4%) |
| CIE-LAB | lab(45.57, 56.69, -69.28) |
| CIE-LCH | lch(45.57, 89.52, 309.29°) |
| OKLab | oklab(55.57% 0.0964 -0.198) |
| OKLCH | oklch(55.57% 0.22 296) |
| XYZ | xyz(25.4013, 14.9505, 73.4842) |
| Luminance | 0.1495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.54
Bluish Purple
#703BE7
ΔE00 4.27
Blueviolet
#8A2BE2
ΔE00 4.81
Purpleish Blue
#6140EF
ΔE00 5.58
Light Indigo
#6D5ACF
ΔE00 6.20
Darkorchid
#9932CC
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8348E2 #A7E248
analogous
#485AE2 #8348E2 #D048E2
triadic
#8348E2 #E28348 #48E283
tetradic
#8348E2 #E2485A #A7E248 #48E2D0
square
#8348E2 #E2485A #A7E248 #48E2D0
split-complementary
#8348E2 #E2D048 #5AE248
monochromatic
#491898 #6220CC #8348E2 #A77DEA #CBB2F3
Accessibility & contrast
On white
5.26
#8348E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#8348E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8348E2
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8348E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8348E2 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#6A6E90
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8348e2; /* rgb */ color: rgb(131, 72, 226); /* oklch */ color: oklch(55.6% 0.220 296.0);
Tailwind
colors: {
custom: {
50: '#ae7fec',
500: '#8348e2',
950: '#000000',
},
}SCSS
$custom: #8348e2; $custom-light: #ae7fec; $custom-dark: #000000;
JSON
{
"hex": "#8348e2",
"rgb": {
"r": 131,
"g": 72,
"b": 226
},
"hsl": {
"h": 262.987,
"s": 72.642,
"l": 58.431
},
"oklch": {
"l": 0.55569,
"c": 0.22026,
"h": 296
},
"luminance": 0.14951
}Semantic roles & 50–950 ramp
primary
#8348E2
secondary
#CAE1A4
accent
#EF38A9
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84