#8752E2#8752E2
#8752E2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.3% C 0.208 H 296.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8752E2 |
|---|---|
| RGB | rgb(135, 82, 226) |
| HSL | hsl(262, 71%, 60%) |
| HSV | hsv(262, 64%, 89%) |
| CMYK | cmyk(40.3%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(47.85, 52.38, -65.56) |
| CIE-LCH | lch(47.85, 83.92, 308.63°) |
| OKLab | oklab(57.31% 0.0916 -0.187) |
| OKLCH | oklch(57.31% 0.208 296.1) |
| XYZ | xyz(26.7328, 16.6759, 73.7471) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.08
Lightish Purple
#A552E6
ΔE00 5.52
Light Indigo
#6D5ACF
ΔE00 5.58
Slate Blue
#6A5ACD
ΔE00 6.18
Lighter Purple
#A55AF4
ΔE00 6.53
Bluish Purple
#703BE7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8752E2 #ADE252
analogous
#5265E2 #8752E2 #CF52E2
triadic
#8752E2 #E28752 #52E287
tetradic
#8752E2 #E25265 #ADE252 #52E2CF
square
#8752E2 #E25265 #ADE252 #52E2CF
split-complementary
#8752E2 #E2CF52 #65E252
monochromatic
#4B1B9F #6423D3 #8752E2 #AB86EB #D0BBF4
Accessibility & contrast
On white
4.84
#8752E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#8752E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8752E2
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8752E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8752E2 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#707393
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8752e2; /* rgb */ color: rgb(135, 82, 226); /* oklch */ color: oklch(57.3% 0.208 296.1);
Tailwind
colors: {
custom: {
50: '#b085ec',
500: '#8752e2',
950: '#000000',
},
}SCSS
$custom: #8752e2; $custom-light: #b085ec; $custom-dark: #000000;
JSON
{
"hex": "#8752e2",
"rgb": {
"r": 135,
"g": 82,
"b": 226
},
"hsl": {
"h": 262.083,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.57308,
"c": 0.2082,
"h": 296.1
},
"luminance": 0.16676
}Semantic roles & 50–950 ramp
primary
#8752E2
secondary
#CFE3AC
accent
#D3128C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84