#8F4FD4#8F4FD4
#8F4FD4 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.7% C 0.197 H 302.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4FD4 |
|---|---|
| RGB | rgb(143, 79, 212) |
| HSL | hsl(269, 61%, 57%) |
| HSV | hsv(269, 63%, 83%) |
| CMYK | cmyk(32.5%, 62.7%, 0%, 16.9%) |
| CIE-LAB | lab(47.22, 52.11, -58.57) |
| CIE-LCH | lch(47.22, 78.39, 311.66°) |
| OKLab | oklab(56.75% 0.1067 -0.1661) |
| OKLCH | oklch(56.75% 0.197 302.7) |
| XYZ | xyz(26.0046, 16.1851, 64.0286) |
| Luminance | 0.1618 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.50
Lightish Purple
#A552E6
ΔE00 4.86
Darkorchid
#9932CC
ΔE00 5.72
Deep Lavender
#8D5EB7
ΔE00 6.26
Amethyst
#9B5FC0
ΔE00 6.47
Blueviolet
#8A2BE2
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4FD4 #94D44F
analogous
#4F52D4 #8F4FD4 #D24FD4
triadic
#8F4FD4 #D48F4F #4FD48F
tetradic
#8F4FD4 #D44F52 #94D44F #4FD4D2
square
#8F4FD4 #D44F52 #94D44F #4FD4D2
split-complementary
#8F4FD4 #D4D24F #52D44F
monochromatic
#522187 #702DB9 #8F4FD4 #AE80E0 #CEB1EC
Accessibility & contrast
On white
4.96
#8F4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#8F4FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4FD4
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4FD4 | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#2570D1
Tritanopia (blue-blind)
#816B8A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8f4fd4; /* rgb */ color: rgb(143, 79, 212); /* oklch */ color: oklch(56.7% 0.197 302.7);
Tailwind
colors: {
custom: {
50: '#b484e2',
500: '#8f4fd4',
950: '#000000',
},
}SCSS
$custom: #8f4fd4; $custom-light: #b484e2; $custom-dark: #000000;
JSON
{
"hex": "#8f4fd4",
"rgb": {
"r": 143,
"g": 79,
"b": 212
},
"hsl": {
"h": 268.872,
"s": 60.731,
"l": 57.059
},
"oklch": {
"l": 0.56749,
"c": 0.19744,
"h": 302.7
},
"luminance": 0.16185
}Semantic roles & 50–950 ramp
primary
#8F4FD4
secondary
#C0DAA4
accent
#E44497
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83