#8640C3#8640C3
#8640C3 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.197 H 305.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8640C3 |
|---|---|
| RGB | rgb(134, 64, 195) |
| HSL | hsl(272, 52%, 51%) |
| HSV | hsv(272, 67%, 76%) |
| CMYK | cmyk(31.3%, 67.2%, 0%, 23.5%) |
| CIE-LAB | lab(42.27, 53.55, -56.79) |
| CIE-LCH | lch(42.27, 78.06, 313.32°) |
| OKLab | oklab(52.58% 0.113 -0.1612) |
| OKLCH | oklch(52.58% 0.197 305) |
| XYZ | xyz(21.5130, 12.6754, 52.9324) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.59
Blueviolet
#8A2BE2
ΔE00 4.82
Purply
#983FB2
ΔE00 5.14
Darkviolet
#9400D3
ΔE00 6.12
Royal Purple
#7851A9
ΔE00 6.17
Bluish Purple
#703BE7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8640C3 #7DC340
analogous
#4440C3 #8640C3 #C340BE
triadic
#8640C3 #C38640 #40C386
tetradic
#8640C3 #C34440 #7DC340 #40BEC3
square
#8640C3 #C34440 #7DC340 #40BEC3
split-complementary
#8640C3 #BEC340 #40C344
monochromatic
#472168 #662F97 #8640C3 #A46FD2 #C19DE0
Accessibility & contrast
On white
5.94
#8640C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#8640C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8640C3
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8640C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8640C3 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#1564C0
Tritanopia (blue-blind)
#7B5D7C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8640c3; /* rgb */ color: rgb(134, 64, 195); /* oklch */ color: oklch(52.6% 0.197 305.0);
Tailwind
colors: {
custom: {
50: '#ae7ad6',
500: '#8640c3',
950: '#000000',
},
}SCSS
$custom: #8640c3; $custom-light: #ae7ad6; $custom-dark: #000000;
JSON
{
"hex": "#8640c3",
"rgb": {
"r": 134,
"g": 64,
"b": 195
},
"hsl": {
"h": 272.061,
"s": 52.191,
"l": 50.784
},
"oklch": {
"l": 0.52582,
"c": 0.19686,
"h": 305
},
"luminance": 0.12675
}Semantic roles & 50–950 ramp
primary
#8640C3
secondary
#ADCC92
accent
#DC4C8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83