#8F64DB#8F64DB
#8F64DB is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.3% C 0.176 H 297.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8F64DB |
|---|---|
| RGB | rgb(143, 100, 219) |
| HSL | hsl(262, 62%, 63%) |
| HSV | hsv(262, 54%, 86%) |
| CMYK | cmyk(34.7%, 54.3%, 0%, 14.1%) |
| CIE-LAB | lab(51.91, 42.58, -55.00) |
| CIE-LCH | lch(51.91, 69.56, 307.75°) |
| OKLab | oklab(60.33% 0.0813 -0.1557) |
| OKLCH | oklch(60.33% 0.176 297.6) |
| XYZ | xyz(28.6679, 20.0681, 69.3673) |
| Luminance | 0.2007 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.55
Purpley
#8756E4
ΔE00 4.30
Lighter Purple
#A55AF4
ΔE00 5.14
Mediumslateblue
#7B68EE
ΔE00 5.19
Lightish Purple
#A552E6
ΔE00 5.46
Amethyst
#9B5FC0
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F64DB #B0DB64
analogous
#6474DB #8F64DB #CB64DB
triadic
#8F64DB #DB8F64 #64DB8F
tetradic
#8F64DB #DB6474 #B0DB64 #64DBCB
square
#8F64DB #DB6474 #B0DB64 #64DBCB
split-complementary
#8F64DB #DBCB64 #74DB64
monochromatic
#5125A0 #6B32CF #8F64DB #B396E7 #D7C7F2
Accessibility & contrast
On white
4.19
#8F64DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#8F64DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F64DB
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F64DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F64DB | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#317CDF
Deuteranopia (green-blind)
#3F7AD8
Tritanopia (blue-blind)
#7E7C96
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8f64db; /* rgb */ color: rgb(143, 100, 219); /* oklch */ color: oklch(60.3% 0.176 297.6);
Tailwind
colors: {
custom: {
50: '#b491e7',
500: '#8f64db',
950: '#000000',
},
}SCSS
$custom: #8f64db; $custom-light: #b491e7; $custom-dark: #000000;
JSON
{
"hex": "#8f64db",
"rgb": {
"r": 143,
"g": 100,
"b": 219
},
"hsl": {
"h": 261.681,
"s": 62.304,
"l": 62.549
},
"oklch": {
"l": 0.60326,
"c": 0.17564,
"h": 297.6
},
"luminance": 0.20068
}Semantic roles & 50–950 ramp
primary
#8F64DB
secondary
#D3E3B8
accent
#CA1B8B
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84