#8756F2#8756F2
#8756F2 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.222 H 292.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8756F2 |
|---|---|
| RGB | rgb(135, 86, 242) |
| HSL | hsl(259, 86%, 64%) |
| HSV | hsv(259, 64%, 95%) |
| CMYK | cmyk(44.2%, 64.5%, 0%, 5.1%) |
| CIE-LAB | lab(49.76, 54.49, -71.47) |
| CIE-LCH | lch(49.76, 89.87, 307.32°) |
| OKLab | oklab(59.04% 0.0858 -0.2044) |
| OKLCH | oklch(59.04% 0.222 292.8) |
| XYZ | xyz(29.3421, 18.2164, 85.9573) |
| Luminance | 0.1822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.92
Mediumslateblue
#7B68EE
ΔE00 5.17
Lighter Purple
#A55AF4
ΔE00 5.53
Lightish Purple
#A552E6
ΔE00 5.75
Light Indigo
#6D5ACF
ΔE00 6.54
Slate Blue
#6A5ACD
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8756F2 #C1F256
analogous
#5673F2 #8756F2 #D556F2
triadic
#8756F2 #F28756 #56F287
tetradic
#8756F2 #F25673 #C1F256 #56F2D5
square
#8756F2 #F25673 #C1F256 #56F2D5
split-complementary
#8756F2 #F2D556 #73F256
monochromatic
#460FBF #5F1DEE #8756F2 #AF8FF6 #D8C8FB
Accessibility & contrast
On white
4.52
#8756F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#8756F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8756F2
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8756F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8756F2 | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#687B9D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8756f2; /* rgb */ color: rgb(135, 86, 242); /* oklch */ color: oklch(59.0% 0.222 292.8);
Tailwind
colors: {
custom: {
50: '#b188f7',
500: '#8756f2',
950: '#000000',
},
}SCSS
$custom: #8756f2; $custom-light: #b188f7; $custom-dark: #000000;
JSON
{
"hex": "#8756f2",
"rgb": {
"r": 135,
"g": 86,
"b": 242
},
"hsl": {
"h": 258.846,
"s": 85.714,
"l": 64.314
},
"oklch": {
"l": 0.59044,
"c": 0.22164,
"h": 292.8
},
"luminance": 0.18217
}Semantic roles & 50–950 ramp
primary
#8756F2
secondary
#DCEDB7
accent
#E2039C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85