#8640BF#8640BF
#8640BF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.3% C 0.193 H 306.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8640BF |
|---|---|
| RGB | rgb(134, 64, 191) |
| HSL | hsl(273, 50%, 50%) |
| HSV | hsv(273, 66%, 75%) |
| CMYK | cmyk(29.8%, 66.5%, 0%, 25.1%) |
| CIE-LAB | lab(42.00, 52.61, -54.91) |
| CIE-LCH | lch(42.00, 76.04, 313.78°) |
| OKLab | oklab(52.3% 0.1134 -0.1556) |
| OKLCH | oklch(52.3% 0.193 306.1) |
| XYZ | xyz(21.0668, 12.4969, 50.5824) |
| Luminance | 0.1250 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.71
Purply
#983FB2
ΔE00 4.72
Blueviolet
#8A2BE2
ΔE00 5.32
Royal Purple
#7851A9
ΔE00 5.85
Darkviolet
#9400D3
ΔE00 6.26
Bluey Purple
#6241C7
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8640BF #79BF40
analogous
#4740BF #8640BF #BF40B8
triadic
#8640BF #BF8640 #40BF86
tetradic
#8640BF #BF4740 #79BF40 #40B8BF
square
#8640BF #BF4740 #79BF40 #40B8BF
split-complementary
#8640BF #B8BF40 #40BF47
monochromatic
#462163 #663191 #8640BF #A36ECE #C09CDE
Accessibility & contrast
On white
6.00
#8640BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#8640BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8640BF
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8640BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8640BF | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#1E63BC
Tritanopia (blue-blind)
#7C5C7A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8640bf; /* rgb */ color: rgb(134, 64, 191); /* oklch */ color: oklch(52.3% 0.193 306.1);
Tailwind
colors: {
custom: {
50: '#ae7ad3',
500: '#8640bf',
950: '#000000',
},
}SCSS
$custom: #8640bf; $custom-light: #ae7ad3; $custom-dark: #000000;
JSON
{
"hex": "#8640bf",
"rgb": {
"r": 134,
"g": 64,
"b": 191
},
"hsl": {
"h": 273.071,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.52297,
"c": 0.19259,
"h": 306.1
},
"luminance": 0.12497
}Semantic roles & 50–950 ramp
primary
#8640BF
secondary
#AACA91
accent
#D94E8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83