#8748C2#8748C2
#8748C2 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.185 H 304.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8748C2 |
|---|---|
| RGB | rgb(135, 72, 194) |
| HSL | hsl(271, 50%, 52%) |
| HSV | hsv(271, 63%, 76%) |
| CMYK | cmyk(30.4%, 62.9%, 0%, 23.9%) |
| CIE-LAB | lab(43.77, 49.57, -53.78) |
| CIE-LCH | lch(43.77, 73.14, 312.66°) |
| OKLab | oklab(53.67% 0.1053 -0.1523) |
| OKLCH | oklch(53.67% 0.185 304.7) |
| XYZ | xyz(22.0445, 13.6808, 52.5078) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.47
Purply
#983FB2
ΔE00 5.07
Royal Purple
#7851A9
ΔE00 5.19
Blueviolet
#8A2BE2
ΔE00 6.05
Purpley
#8756E4
ΔE00 6.51
Deep Lavender
#8D5EB7
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8748C2 #83C248
analogous
#4A48C2 #8748C2 #C248C0
triadic
#8748C2 #C28748 #48C287
tetradic
#8748C2 #C24A48 #83C248 #48C0C2
square
#8748C2 #C24A48 #83C248 #48C0C2
split-complementary
#8748C2 #C0C248 #48C24A
monochromatic
#49246C #68339A #8748C2 #A576D1 #C3A4E1
Accessibility & contrast
On white
5.62
#8748C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#8748C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8748C2
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8748C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8748C2 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#2967BF
Tritanopia (blue-blind)
#7C627E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8748c2; /* rgb */ color: rgb(135, 72, 194); /* oklch */ color: oklch(53.7% 0.185 304.7);
Tailwind
colors: {
custom: {
50: '#ae7ed5',
500: '#8748c2',
950: '#000000',
},
}SCSS
$custom: #8748c2; $custom-light: #ae7ed5; $custom-dark: #000000;
JSON
{
"hex": "#8748c2",
"rgb": {
"r": 135,
"g": 72,
"b": 194
},
"hsl": {
"h": 270.984,
"s": 50,
"l": 52.157
},
"oklch": {
"l": 0.53669,
"c": 0.1852,
"h": 304.7
},
"luminance": 0.13681
}Semantic roles & 50–950 ramp
primary
#8748C2
secondary
#B2CE98
accent
#DA4E92
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83