#8752BF#8752BF
#8752BF is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.9% C 0.167 H 303.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8752BF |
|---|---|
| RGB | rgb(135, 82, 191) |
| HSL | hsl(269, 46%, 54%) |
| HSV | hsv(269, 57%, 75%) |
| CMYK | cmyk(29.3%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(45.56, 43.54, -49.17) |
| CIE-LCH | lch(45.56, 65.67, 311.53°) |
| OKLab | oklab(54.91% 0.093 -0.1388) |
| OKLCH | oklch(54.91% 0.167 303.8) |
| XYZ | xyz(22.4108, 14.9471, 50.9845) |
| Luminance | 0.1495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.23
Royal Purple
#7851A9
ΔE00 4.34
Amethyst
#9B5FC0
ΔE00 5.88
Purpley
#8756E4
ΔE00 5.93
Purply
#983FB2
ΔE00 5.98
Darkorchid
#9932CC
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8752BF #8ABF52
analogous
#5253BF #8752BF #BD52BF
triadic
#8752BF #BF8752 #52BF87
tetradic
#8752BF #BF5253 #8ABF52 #52BFBD
square
#8752BF #BF5253 #8ABF52 #52BFBD
split-complementary
#8752BF #BFBD52 #53BF52
monochromatic
#4A296E #69399B #8752BF #A67FD0 #C5ABE0
Accessibility & contrast
On white
5.26
#8752BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#8752BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8752BF
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8752BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8752BF | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266BC3
Deuteranopia (green-blind)
#3A6CBC
Tritanopia (blue-blind)
#7D6781
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8752bf; /* rgb */ color: rgb(135, 82, 191); /* oklch */ color: oklch(54.9% 0.167 303.8);
Tailwind
colors: {
custom: {
50: '#ad85d3',
500: '#8752bf',
950: '#000000',
},
}SCSS
$custom: #8752bf; $custom-light: #ad85d3; $custom-dark: #000000;
JSON
{
"hex": "#8752bf",
"rgb": {
"r": 135,
"g": 82,
"b": 191
},
"hsl": {
"h": 269.174,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.54914,
"c": 0.16711,
"h": 303.8
},
"luminance": 0.14947
}Semantic roles & 50–950 ramp
primary
#8752BF
secondary
#B7CE9F
accent
#D65296
background
#FAF8FD
surface
#F5EFFA
border
#CFCAD3
text
#110B14
muted
#807C83