#8F4FBB#8F4FBB
#8F4FBB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.169 H 309.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4FBB |
|---|---|
| RGB | rgb(143, 79, 187) |
| HSL | hsl(276, 44%, 52%) |
| HSV | hsv(276, 58%, 73%) |
| CMYK | cmyk(23.5%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(45.66, 46.21, -46.62) |
| CIE-LCH | lch(45.66, 65.64, 314.74°) |
| OKLab | oklab(55.12% 0.1072 -0.1311) |
| OKLCH | oklch(55.12% 0.169 309.3) |
| XYZ | xyz(23.0916, 15.0198, 48.6867) |
| Luminance | 0.1502 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.19
Deep Lavender
#8D5EB7
ΔE00 4.22
Royal Purple
#7851A9
ΔE00 5.09
Amethyst
#9B5FC0
ΔE00 5.24
Darkorchid
#9932CC
ΔE00 5.72
Medium Purple
#9E43A2
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4FBB #7BBB4F
analogous
#594FBB #8F4FBB #BB4FB1
triadic
#8F4FBB #BB8F4F #4FBB8F
tetradic
#8F4FBB #BB594F #7BBB4F #4FB1BB
square
#8F4FBB #BB594F #7BBB4F #4FB1BB
split-complementary
#8F4FBB #B1BB4F #4FBB59
monochromatic
#4E2868 #6F3994 #8F4FBB #AB7BCC #C7A7DD
Accessibility & contrast
On white
5.25
#8F4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#8F4FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4FBB
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4FBB | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#426DB8
Tritanopia (blue-blind)
#89637D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8f4fbb; /* rgb */ color: rgb(143, 79, 187); /* oklch */ color: oklch(55.1% 0.169 309.3);
Tailwind
colors: {
custom: {
50: '#b383d0',
500: '#8f4fbb',
950: '#000000',
},
}SCSS
$custom: #8f4fbb; $custom-light: #b383d0; $custom-dark: #000000;
JSON
{
"hex": "#8f4fbb",
"rgb": {
"r": 143,
"g": 79,
"b": 187
},
"hsl": {
"h": 275.556,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.5512,
"c": 0.16935,
"h": 309.3
},
"luminance": 0.15019
}Semantic roles & 50–950 ramp
primary
#8F4FBB
secondary
#AFCA9B
accent
#D45488
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82