#8645BE#8645BE
#8645BE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.185 H 305.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8645BE |
|---|---|
| RGB | rgb(134, 69, 190) |
| HSL | hsl(272, 48%, 51%) |
| HSV | hsv(272, 64%, 75%) |
| CMYK | cmyk(29.5%, 63.7%, 0%, 25.5%) |
| CIE-LAB | lab(42.83, 49.91, -52.98) |
| CIE-LCH | lch(42.83, 72.79, 313.29°) |
| OKLab | oklab(52.88% 0.1078 -0.15) |
| OKLCH | oklch(52.88% 0.185 305.7) |
| XYZ | xyz(21.2519, 13.0424, 50.1031) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.26
Purply
#983FB2
ΔE00 4.65
Royal Purple
#7851A9
ΔE00 5.08
Blueviolet
#8A2BE2
ΔE00 6.03
Bluey Purple
#6241C7
ΔE00 7.04
Deep Lavender
#8D5EB7
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8645BE #7DBE45
analogous
#4945BE #8645BE #BE45BA
triadic
#8645BE #BE8645 #45BE86
tetradic
#8645BE #BE4945 #7DBE45 #45BABE
square
#8645BE #BE4945 #7DBE45 #45BABE
split-complementary
#8645BE #BABE45 #45BE49
monochromatic
#472365 #663393 #8645BE #A472CE #C1A0DE
Accessibility & contrast
On white
5.82
#8645BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#8645BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8645BE
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8645BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8645BE | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#2865BB
Tritanopia (blue-blind)
#7C5E7B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8645be; /* rgb */ color: rgb(134, 69, 190); /* oklch */ color: oklch(52.9% 0.185 305.7);
Tailwind
colors: {
custom: {
50: '#ad7cd2',
500: '#8645be',
950: '#000000',
},
}SCSS
$custom: #8645be; $custom-light: #ad7cd2; $custom-dark: #000000;
JSON
{
"hex": "#8645be",
"rgb": {
"r": 134,
"g": 69,
"b": 190
},
"hsl": {
"h": 272.231,
"s": 48.207,
"l": 50.784
},
"oklch": {
"l": 0.52876,
"c": 0.1847,
"h": 305.7
},
"luminance": 0.13042
}Semantic roles & 50–950 ramp
primary
#8645BE
secondary
#ADCA95
accent
#D8508F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83