#8F4CB7#8F4CB7
#8F4CB7 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.169 H 310.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4CB7 |
|---|---|
| RGB | rgb(143, 76, 183) |
| HSL | hsl(278, 43%, 51%) |
| HSV | hsv(278, 58%, 72%) |
| CMYK | cmyk(21.9%, 58.5%, 0%, 28.2%) |
| CIE-LAB | lab(44.84, 46.87, -45.60) |
| CIE-LCH | lch(44.84, 65.39, 315.79°) |
| OKLab | oklab(54.44% 0.111 -0.1281) |
| OKLCH | oklch(54.44% 0.169 310.9) |
| XYZ | xyz(22.4578, 14.4279, 46.3924) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.31
Deep Lavender
#8D5EB7
ΔE00 4.90
Royal Purple
#7851A9
ΔE00 5.01
Darkorchid
#9932CC
ΔE00 5.41
Medium Purple
#9E43A2
ΔE00 5.91
Amethyst
#9B5FC0
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4CB7 #74B74C
analogous
#594CB7 #8F4CB7 #B74CA9
triadic
#8F4CB7 #B78F4C #4CB78F
tetradic
#8F4CB7 #B7594C #74B74C #4CA9B7
square
#8F4CB7 #B7594C #74B74C #4CA9B7
split-complementary
#8F4CB7 #A9B74C #4CB759
monochromatic
#4C2761 #6E398D #8F4CB7 #AA78C9 #C6A3DA
Accessibility & contrast
On white
5.40
#8F4CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#8F4CB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4CB7
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4CB7 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2867BA
Deuteranopia (green-blind)
#426BB4
Tritanopia (blue-blind)
#8A5F7A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8f4cb7; /* rgb */ color: rgb(143, 76, 183); /* oklch */ color: oklch(54.4% 0.169 310.9);
Tailwind
colors: {
custom: {
50: '#b381cd',
500: '#8f4cb7',
950: '#000000',
},
}SCSS
$custom: #8f4cb7; $custom-light: #b381cd; $custom-dark: #000000;
JSON
{
"hex": "#8f4cb7",
"rgb": {
"r": 143,
"g": 76,
"b": 183
},
"hsl": {
"h": 277.57,
"s": 42.629,
"l": 50.784
},
"oklch": {
"l": 0.54444,
"c": 0.16949,
"h": 310.9
},
"luminance": 0.14427
}Semantic roles & 50–950 ramp
primary
#8F4CB7
secondary
#A9C798
accent
#D25584
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B13
muted
#807C82