#8748B2#8748B2
#8748B2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.167 H 309.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8748B2 |
|---|---|
| RGB | rgb(135, 72, 178) |
| HSL | hsl(276, 42%, 49%) |
| HSV | hsv(276, 60%, 70%) |
| CMYK | cmyk(24.2%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(42.76, 45.80, -46.04) |
| CIE-LCH | lch(42.76, 64.94, 314.85°) |
| OKLab | oklab(52.61% 0.1057 -0.1296) |
| OKLCH | oklch(52.61% 0.167 309.2) |
| XYZ | xyz(20.3433, 13.0003, 43.5485) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.66
Royal Purple
#7851A9
ΔE00 3.99
Darkorchid
#9932CC
ΔE00 5.48
Deep Lavender
#8D5EB7
ΔE00 6.22
Medium Purple
#9E43A2
ΔE00 6.51
Amethyst
#9B5FC0
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8748B2 #73B248
analogous
#5248B2 #8748B2 #B248A8
triadic
#8748B2 #B28748 #48B287
tetradic
#8748B2 #B25248 #73B248 #48A8B2
square
#8748B2 #B25248 #73B248 #48A8B2
split-complementary
#8748B2 #A8B248 #48B252
monochromatic
#45255B #663686 #8748B2 #A471C6 #C09DD7
Accessibility & contrast
On white
5.83
#8748B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#8748B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8748B2
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8748B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8748B2 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F62B5
Deuteranopia (green-blind)
#3B66AF
Tritanopia (blue-blind)
#815C76
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8748b2; /* rgb */ color: rgb(135, 72, 178); /* oklch */ color: oklch(52.6% 0.167 309.2);
Tailwind
colors: {
custom: {
50: '#ad7ec9',
500: '#8748b2',
950: '#000000',
},
}SCSS
$custom: #8748b2; $custom-light: #ad7ec9; $custom-dark: #000000;
JSON
{
"hex": "#8748b2",
"rgb": {
"r": 135,
"g": 72,
"b": 178
},
"hsl": {
"h": 275.66,
"s": 42.4,
"l": 49.02
},
"oklch": {
"l": 0.52614,
"c": 0.16727,
"h": 309.2
},
"luminance": 0.13
}Semantic roles & 50–950 ramp
primary
#8748B2
secondary
#A6C492
accent
#D25688
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#110A13
muted
#807C82