#8826C2#8826C2
#8826C2 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.1% C 0.225 H 308.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8826C2 |
|---|---|
| RGB | rgb(136, 38, 194) |
| HSL | hsl(278, 67%, 45%) |
| HSV | hsv(278, 80%, 76%) |
| CMYK | cmyk(29.9%, 80.4%, 0%, 23.9%) |
| CIE-LAB | lab(38.75, 64.25, -61.90) |
| CIE-LCH | lch(38.75, 89.22, 316.07°) |
| OKLab | oklab(50.13% 0.14 -0.176) |
| OKLCH | oklch(50.13% 0.225 308.5) |
| XYZ | xyz(20.5820, 10.5159, 51.9740) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 2.91
Darkorchid
#9932CC
ΔE00 4.23
Blueviolet
#8A2BE2
ΔE00 4.64
Violet (survey)
#9A0EEA
ΔE00 5.54
Purple (survey)
#7E1E9C
ΔE00 6.09
Purply
#983FB2
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8826C2 #60C226
analogous
#3A26C2 #8826C2 #C226AE
triadic
#8826C2 #C28826 #26C288
tetradic
#8826C2 #C23A26 #60C226 #26AEC2
square
#8826C2 #C23A26 #60C226 #26AEC2
split-complementary
#8826C2 #AEC226 #26C23A
monochromatic
#40125C #641C8F #8826C2 #A54ADB #BF7DE6
Accessibility & contrast
On white
6.77
#8826C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#8826C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8826C2
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8826C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8826C2 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#7F4F75
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8826c2; /* rgb */ color: rgb(136, 38, 194); /* oklch */ color: oklch(50.1% 0.225 308.5);
Tailwind
colors: {
custom: {
50: '#b06dd5',
500: '#8826c2',
950: '#000000',
},
}SCSS
$custom: #8826c2; $custom-light: #b06dd5; $custom-dark: #000000;
JSON
{
"hex": "#8826c2",
"rgb": {
"r": 136,
"g": 38,
"b": 194
},
"hsl": {
"h": 277.692,
"s": 67.241,
"l": 45.49
},
"oklch": {
"l": 0.50127,
"c": 0.22489,
"h": 308.5
},
"luminance": 0.10516
}Semantic roles & 50–950 ramp
primary
#8826C2
secondary
#97CE76
accent
#EA3E7E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83