#8345BA#8345BA
#8345BA is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.179 H 305.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8345BA |
|---|---|
| RGB | rgb(131, 69, 186) |
| HSL | hsl(272, 46%, 50%) |
| HSV | hsv(272, 63%, 73%) |
| CMYK | cmyk(29.6%, 62.9%, 0%, 27.1%) |
| CIE-LAB | lab(42.20, 48.27, -51.68) |
| CIE-LCH | lch(42.20, 70.72, 313.05°) |
| OKLab | oklab(52.25% 0.104 -0.1463) |
| OKLCH | oklch(52.25% 0.179 305.4) |
| XYZ | xyz(20.3492, 12.6269, 47.8101) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.57
Darkorchid
#9932CC
ΔE00 4.81
Purply
#983FB2
ΔE00 4.81
Blueviolet
#8A2BE2
ΔE00 6.46
Bluey Purple
#6241C7
ΔE00 6.78
Deep Lavender
#8D5EB7
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8345BA #7CBA45
analogous
#4945BA #8345BA #BA45B6
triadic
#8345BA #BA8345 #45BA83
tetradic
#8345BA #BA4945 #7CBA45 #45B6BA
square
#8345BA #BA4945 #7CBA45 #45B6BA
split-complementary
#8345BA #B6BA45 #45BA49
monochromatic
#442461 #64348D #8345BA #A172CB #BF9EDB
Accessibility & contrast
On white
5.96
#8345BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8345BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8345BA
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8345BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8345BA | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#2964B7
Tritanopia (blue-blind)
#795D79
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8345ba; /* rgb */ color: rgb(131, 69, 186); /* oklch */ color: oklch(52.3% 0.179 305.4);
Tailwind
colors: {
custom: {
50: '#ab7ccf',
500: '#8345ba',
950: '#000000',
},
}SCSS
$custom: #8345ba; $custom-light: #ab7ccf; $custom-dark: #000000;
JSON
{
"hex": "#8345ba",
"rgb": {
"r": 131,
"g": 69,
"b": 186
},
"hsl": {
"h": 271.795,
"s": 45.882,
"l": 50
},
"oklch": {
"l": 0.52254,
"c": 0.17948,
"h": 305.4
},
"luminance": 0.12627
}Semantic roles & 50–950 ramp
primary
#8345BA
secondary
#ACC893
accent
#D65290
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82