#8749C2#8749C2
#8749C2 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.184 H 304.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8749C2 |
|---|---|
| RGB | rgb(135, 73, 194) |
| HSL | hsl(271, 50%, 52%) |
| HSV | hsv(271, 62%, 76%) |
| CMYK | cmyk(30.4%, 62.4%, 0%, 23.9%) |
| CIE-LAB | lab(43.96, 49.05, -53.48) |
| CIE-LCH | lch(43.96, 72.57, 312.53°) |
| OKLab | oklab(53.81% 0.1041 -0.1514) |
| OKLCH | oklch(53.81% 0.184 304.5) |
| XYZ | xyz(22.1097, 13.8111, 52.5295) |
| Luminance | 0.1381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.63
Royal Purple
#7851A9
ΔE00 5.10
Purply
#983FB2
ΔE00 5.14
Blueviolet
#8A2BE2
ΔE00 6.22
Purpley
#8756E4
ΔE00 6.37
Deep Lavender
#8D5EB7
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8749C2 #84C249
analogous
#4B49C2 #8749C2 #C249C0
triadic
#8749C2 #C28749 #49C287
tetradic
#8749C2 #C24B49 #84C249 #49C0C2
square
#8749C2 #C24B49 #84C249 #49C0C2
split-complementary
#8749C2 #C0C249 #49C24B
monochromatic
#49246C #68349A #8749C2 #A577D1 #C3A5E1
Accessibility & contrast
On white
5.58
#8749C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#8749C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8749C2
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8749C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8749C2 | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#7C627F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8749c2; /* rgb */ color: rgb(135, 73, 194); /* oklch */ color: oklch(53.8% 0.184 304.5);
Tailwind
colors: {
custom: {
50: '#ae7fd5',
500: '#8749c2',
950: '#000000',
},
}SCSS
$custom: #8749c2; $custom-light: #ae7fd5; $custom-dark: #000000;
JSON
{
"hex": "#8749c2",
"rgb": {
"r": 135,
"g": 73,
"b": 194
},
"hsl": {
"h": 270.744,
"s": 49.794,
"l": 52.353
},
"oklch": {
"l": 0.53807,
"c": 0.18379,
"h": 304.5
},
"luminance": 0.13811
}Semantic roles & 50–950 ramp
primary
#8749C2
secondary
#B3CE99
accent
#D94E92
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83