#8F4FD6#8F4FD6
#8F4FD6 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.9% C 0.200 H 302.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4FD6 |
|---|---|
| RGB | rgb(143, 79, 214) |
| HSL | hsl(268, 62%, 57%) |
| HSV | hsv(268, 63%, 84%) |
| CMYK | cmyk(33.2%, 63.1%, 0%, 16.1%) |
| CIE-LAB | lab(47.35, 52.59, -59.50) |
| CIE-LCH | lch(47.35, 79.41, 311.48°) |
| OKLab | oklab(56.89% 0.1065 -0.1689) |
| OKLCH | oklch(56.89% 0.2 302.2) |
| XYZ | xyz(26.2584, 16.2866, 65.3655) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.25
Lightish Purple
#A552E6
ΔE00 4.73
Darkorchid
#9932CC
ΔE00 5.84
Deep Lavender
#8D5EB7
ΔE00 6.48
Amethyst
#9B5FC0
ΔE00 6.63
Blueviolet
#8A2BE2
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4FD6 #96D64F
analogous
#4F53D6 #8F4FD6 #D24FD6
triadic
#8F4FD6 #D68F4F #4FD68F
tetradic
#8F4FD6 #D64F53 #96D64F #4FD6D2
square
#8F4FD6 #D64F53 #96D64F #4FD6D2
split-complementary
#8F4FD6 #D6D24F #53D64F
monochromatic
#53208A #702CBC #8F4FD6 #AF81E2 #CEB2ED
Accessibility & contrast
On white
4.93
#8F4FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#8F4FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4FD6
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4FD6 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#2170D3
Tritanopia (blue-blind)
#816C8B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8f4fd6; /* rgb */ color: rgb(143, 79, 214); /* oklch */ color: oklch(56.9% 0.200 302.2);
Tailwind
colors: {
custom: {
50: '#b484e3',
500: '#8f4fd6',
950: '#000000',
},
}SCSS
$custom: #8f4fd6; $custom-light: #b484e3; $custom-dark: #000000;
JSON
{
"hex": "#8f4fd6",
"rgb": {
"r": 143,
"g": 79,
"b": 214
},
"hsl": {
"h": 268.444,
"s": 62.212,
"l": 57.451
},
"oklch": {
"l": 0.56887,
"c": 0.19967,
"h": 302.2
},
"luminance": 0.16287
}Semantic roles & 50–950 ramp
primary
#8F4FD6
secondary
#C2DCA5
accent
#E54398
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84