#8F48C7#8F48C7
#8F48C7 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.193 H 306.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8F48C7 |
|---|---|
| RGB | rgb(143, 72, 199) |
| HSL | hsl(274, 53%, 53%) |
| HSV | hsv(274, 64%, 78%) |
| CMYK | cmyk(28.1%, 63.8%, 0%, 22%) |
| CIE-LAB | lab(45.08, 52.55, -54.53) |
| CIE-LCH | lch(45.08, 75.73, 313.94°) |
| OKLab | oklab(54.93% 0.1156 -0.1543) |
| OKLCH | oklch(54.93% 0.193 306.8) |
| XYZ | xyz(23.9517, 14.5982, 55.5777) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.82
Purply
#983FB2
ΔE00 4.67
Blueviolet
#8A2BE2
ΔE00 6.04
Purpley
#8756E4
ΔE00 6.08
Royal Purple
#7851A9
ΔE00 6.33
Deep Lavender
#8D5EB7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F48C7 #80C748
analogous
#4F48C7 #8F48C7 #C748C0
triadic
#8F48C7 #C78F48 #48C78F
tetradic
#8F48C7 #C74F48 #80C748 #48C0C7
square
#8F48C7 #C74F48 #80C748 #48C0C7
split-complementary
#8F48C7 #C0C748 #48C74F
monochromatic
#4F2372 #6F31A1 #8F48C7 #AC77D5 #C8A6E4
Accessibility & contrast
On white
5.36
#8F48C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#8F48C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F48C7
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F48C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F48C7 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#2D6BC4
Tritanopia (blue-blind)
#866281
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8f48c7; /* rgb */ color: rgb(143, 72, 199); /* oklch */ color: oklch(54.9% 0.193 306.8);
Tailwind
colors: {
custom: {
50: '#b47fd9',
500: '#8f48c7',
950: '#000000',
},
}SCSS
$custom: #8f48c7; $custom-light: #b47fd9; $custom-dark: #000000;
JSON
{
"hex": "#8f48c7",
"rgb": {
"r": 143,
"g": 72,
"b": 199
},
"hsl": {
"h": 273.543,
"s": 53.138,
"l": 53.137
},
"oklch": {
"l": 0.54934,
"c": 0.19276,
"h": 306.8
},
"luminance": 0.14598
}Semantic roles & 50–950 ramp
primary
#8F48C7
secondary
#B2D19A
accent
#DD4B8B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A15
muted
#807C83