#8F48C8#8F48C8
#8F48C8 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 55.0% C 0.194 H 306.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8F48C8 |
|---|---|
| RGB | rgb(143, 72, 200) |
| HSL | hsl(273, 54%, 53%) |
| HSV | hsv(273, 64%, 78%) |
| CMYK | cmyk(28.5%, 64%, 0%, 21.6%) |
| CIE-LAB | lab(45.14, 52.78, -55.00) |
| CIE-LCH | lch(45.14, 76.23, 313.82°) |
| OKLab | oklab(55% 0.1155 -0.1556) |
| OKLCH | oklch(55% 0.194 306.6) |
| XYZ | xyz(24.0682, 14.6447, 56.1912) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.82
Purply
#983FB2
ΔE00 4.80
Purpley
#8756E4
ΔE00 5.95
Blueviolet
#8A2BE2
ΔE00 5.95
Deep Lavender
#8D5EB7
ΔE00 6.41
Royal Purple
#7851A9
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F48C8 #81C848
analogous
#4F48C8 #8F48C8 #C848C1
triadic
#8F48C8 #C88F48 #48C88F
tetradic
#8F48C8 #C84F48 #81C848 #48C1C8
square
#8F48C8 #C84F48 #81C848 #48C1C8
split-complementary
#8F48C8 #C1C848 #48C84F
monochromatic
#4F2373 #7031A2 #8F48C8 #AC77D6 #C9A6E4
Accessibility & contrast
On white
5.34
#8F48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#8F48C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F48C8
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F48C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F48C8 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#2C6BC5
Tritanopia (blue-blind)
#866382
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8f48c8; /* rgb */ color: rgb(143, 72, 200); /* oklch */ color: oklch(55.0% 0.194 306.6);
Tailwind
colors: {
custom: {
50: '#b47fd9',
500: '#8f48c8',
950: '#000000',
},
}SCSS
$custom: #8f48c8; $custom-light: #b47fd9; $custom-dark: #000000;
JSON
{
"hex": "#8f48c8",
"rgb": {
"r": 143,
"g": 72,
"b": 200
},
"hsl": {
"h": 273.281,
"s": 53.782,
"l": 53.333
},
"oklch": {
"l": 0.55001,
"c": 0.19383,
"h": 306.6
},
"luminance": 0.14645
}Semantic roles & 50–950 ramp
primary
#8F48C8
secondary
#B3D19A
accent
#DD4B8C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83