#8645BA#8645BA
#8645BA is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.180 H 306.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8645BA |
|---|---|
| RGB | rgb(134, 69, 186) |
| HSL | hsl(273, 46%, 50%) |
| HSV | hsv(273, 63%, 73%) |
| CMYK | cmyk(28%, 62.9%, 0%, 27.1%) |
| CIE-LAB | lab(42.57, 48.97, -51.06) |
| CIE-LCH | lch(42.57, 70.74, 313.80°) |
| OKLab | oklab(52.6% 0.108 -0.1444) |
| OKLCH | oklch(52.6% 0.18 306.8) |
| XYZ | xyz(20.8207, 12.8700, 47.8322) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.26
Darkorchid
#9932CC
ΔE00 4.48
Royal Purple
#7851A9
ΔE00 4.76
Blueviolet
#8A2BE2
ΔE00 6.54
Deep Lavender
#8D5EB7
ΔE00 7.04
Bluey Purple
#6241C7
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8645BA #79BA45
analogous
#4B45BA #8645BA #BA45B4
triadic
#8645BA #BA8645 #45BA86
tetradic
#8645BA #BA4B45 #79BA45 #45B4BA
square
#8645BA #BA4B45 #79BA45 #45B4BA
split-complementary
#8645BA #B4BA45 #45BA4B
monochromatic
#462461 #66348D #8645BA #A372CB #C09EDB
Accessibility & contrast
On white
5.88
#8645BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#8645BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8645BA
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8645BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8645BA | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#7E5D79
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8645ba; /* rgb */ color: rgb(134, 69, 186); /* oklch */ color: oklch(52.6% 0.180 306.8);
Tailwind
colors: {
custom: {
50: '#ad7ccf',
500: '#8645ba',
950: '#000000',
},
}SCSS
$custom: #8645ba; $custom-light: #ad7ccf; $custom-dark: #000000;
JSON
{
"hex": "#8645ba",
"rgb": {
"r": 134,
"g": 69,
"b": 186
},
"hsl": {
"h": 273.333,
"s": 45.882,
"l": 50
},
"oklch": {
"l": 0.52604,
"c": 0.18028,
"h": 306.8
},
"luminance": 0.1287
}Semantic roles & 50–950 ramp
primary
#8645BA
secondary
#AAC893
accent
#D6528D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82