#8848C7#8848C7
#8848C7 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.191 H 303.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8848C7 |
|---|---|
| RGB | rgb(136, 72, 199) |
| HSL | hsl(270, 53%, 53%) |
| HSV | hsv(270, 64%, 78%) |
| CMYK | cmyk(31.7%, 63.8%, 0%, 22%) |
| CIE-LAB | lab(44.22, 50.99, -55.95) |
| CIE-LCH | lch(44.22, 75.70, 312.34°) |
| OKLab | oklab(54.13% 0.1063 -0.1587) |
| OKLCH | oklch(54.13% 0.191 303.8) |
| XYZ | xyz(22.7772, 13.9925, 55.5226) |
| Luminance | 0.1399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.33
Purply
#983FB2
ΔE00 5.51
Blueviolet
#8A2BE2
ΔE00 5.61
Royal Purple
#7851A9
ΔE00 5.80
Purpley
#8756E4
ΔE00 5.86
Bluish Purple
#703BE7
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8848C7 #87C748
analogous
#4848C7 #8848C7 #C748C7
triadic
#8848C7 #C78848 #48C788
tetradic
#8848C7 #C74848 #87C748 #48C7C7
square
#8848C7 #C74848 #87C748 #48C7C7
split-complementary
#8848C7 #C7C748 #48C748
monochromatic
#4B2372 #6931A1 #8848C7 #A677D5 #C5A6E4
Accessibility & contrast
On white
5.53
#8848C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#8848C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8848C7
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8848C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8848C7 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#2268C4
Tritanopia (blue-blind)
#7C6381
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8848c7; /* rgb */ color: rgb(136, 72, 199); /* oklch */ color: oklch(54.1% 0.191 303.8);
Tailwind
colors: {
custom: {
50: '#af7fd9',
500: '#8848c7',
950: '#000000',
},
}SCSS
$custom: #8848c7; $custom-light: #af7fd9; $custom-dark: #000000;
JSON
{
"hex": "#8848c7",
"rgb": {
"r": 136,
"g": 72,
"b": 199
},
"hsl": {
"h": 270.236,
"s": 53.138,
"l": 53.137
},
"oklch": {
"l": 0.54127,
"c": 0.19101,
"h": 303.8
},
"luminance": 0.13992
}Semantic roles & 50–950 ramp
primary
#8848C7
secondary
#B5D19A
accent
#DD4B93
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83