#8F4FD5#8F4FD5
#8F4FD5 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.199 H 302.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4FD5 |
|---|---|
| RGB | rgb(143, 79, 213) |
| HSL | hsl(269, 61%, 57%) |
| HSV | hsv(269, 63%, 84%) |
| CMYK | cmyk(32.9%, 62.9%, 0%, 16.5%) |
| CIE-LAB | lab(47.28, 52.35, -59.03) |
| CIE-LCH | lch(47.28, 78.90, 311.57°) |
| OKLab | oklab(56.82% 0.1066 -0.1675) |
| OKLCH | oklch(56.82% 0.199 302.5) |
| XYZ | xyz(26.1311, 16.2357, 64.6950) |
| Luminance | 0.1624 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.37
Lightish Purple
#A552E6
ΔE00 4.79
Darkorchid
#9932CC
ΔE00 5.78
Deep Lavender
#8D5EB7
ΔE00 6.37
Amethyst
#9B5FC0
ΔE00 6.55
Blueviolet
#8A2BE2
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4FD5 #95D54F
analogous
#4F52D5 #8F4FD5 #D24FD5
triadic
#8F4FD5 #D58F4F #4FD58F
tetradic
#8F4FD5 #D54F52 #95D54F #4FD5D2
square
#8F4FD5 #D54F52 #95D54F #4FD5D2
split-complementary
#8F4FD5 #D5D24F #52D54F
monochromatic
#522189 #702CBA #8F4FD5 #AE80E1 #CEB2ED
Accessibility & contrast
On white
4.94
#8F4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#8F4FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4FD5
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4FD5 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#2370D2
Tritanopia (blue-blind)
#816C8B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8f4fd5; /* rgb */ color: rgb(143, 79, 213); /* oklch */ color: oklch(56.8% 0.199 302.5);
Tailwind
colors: {
custom: {
50: '#b484e3',
500: '#8f4fd5',
950: '#000000',
},
}SCSS
$custom: #8f4fd5; $custom-light: #b484e3; $custom-dark: #000000;
JSON
{
"hex": "#8f4fd5",
"rgb": {
"r": 143,
"g": 79,
"b": 213
},
"hsl": {
"h": 268.657,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.56818,
"c": 0.19856,
"h": 302.5
},
"luminance": 0.16236
}Semantic roles & 50–950 ramp
primary
#8F4FD5
secondary
#C1DBA5
accent
#E54398
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84