#8748C7#8748C7
#8748C7 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.191 H 303.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8748C7 |
|---|---|
| RGB | rgb(135, 72, 199) |
| HSL | hsl(270, 53%, 53%) |
| HSV | hsv(270, 64%, 78%) |
| CMYK | cmyk(32.2%, 63.8%, 0%, 22%) |
| CIE-LAB | lab(44.10, 50.77, -56.15) |
| CIE-LCH | lch(44.10, 75.70, 312.12°) |
| OKLab | oklab(54.01% 0.105 -0.1593) |
| OKLCH | oklch(54.01% 0.191 303.4) |
| XYZ | xyz(22.6155, 13.9092, 55.5151) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.44
Blueviolet
#8A2BE2
ΔE00 5.57
Purply
#983FB2
ΔE00 5.65
Royal Purple
#7851A9
ΔE00 5.74
Purpley
#8756E4
ΔE00 5.85
Bluish Purple
#703BE7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8748C7 #88C748
analogous
#4848C7 #8748C7 #C748C7
triadic
#8748C7 #C78748 #48C787
tetradic
#8748C7 #C74848 #88C748 #48C7C7
square
#8748C7 #C74848 #88C748 #48C7C7
split-complementary
#8748C7 #C7C748 #48C748
monochromatic
#4A2372 #6831A1 #8748C7 #A677D5 #C4A6E4
Accessibility & contrast
On white
5.55
#8748C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#8748C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8748C7
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8748C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8748C7 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#2068C4
Tritanopia (blue-blind)
#7B6381
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8748c7; /* rgb */ color: rgb(135, 72, 199); /* oklch */ color: oklch(54.0% 0.191 303.4);
Tailwind
colors: {
custom: {
50: '#ae7fd9',
500: '#8748c7',
950: '#000000',
},
}SCSS
$custom: #8748c7; $custom-light: #ae7fd9; $custom-dark: #000000;
JSON
{
"hex": "#8748c7",
"rgb": {
"r": 135,
"g": 72,
"b": 199
},
"hsl": {
"h": 269.764,
"s": 53.138,
"l": 53.137
},
"oklch": {
"l": 0.54014,
"c": 0.19079,
"h": 303.4
},
"luminance": 0.13909
}Semantic roles & 50–950 ramp
primary
#8748C7
secondary
#B6D19A
accent
#DD4B94
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83