#8226C6#8226C6
#8226C6 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.7% C 0.227 H 305.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8226C6 |
|---|---|
| RGB | rgb(130, 38, 198) |
| HSL | hsl(275, 68%, 46%) |
| HSV | hsv(275, 81%, 78%) |
| CMYK | cmyk(34.3%, 80.8%, 0%, 22.4%) |
| CIE-LAB | lab(38.22, 64.15, -65.15) |
| CIE-LCH | lch(38.22, 91.44, 314.56°) |
| OKLab | oklab(49.68% 0.1307 -0.1857) |
| OKLCH | oklch(49.68% 0.227 305.1) |
| XYZ | xyz(20.0898, 10.2094, 54.3274) |
| Luminance | 0.1021 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.20
Blueviolet
#8A2BE2
ΔE00 4.27
Darkorchid
#9932CC
ΔE00 5.05
Violet (survey)
#9A0EEA
ΔE00 5.57
Burple
#6832E3
ΔE00 5.95
Purple Blue
#5D21D0
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8226C6 #6AC626
analogous
#3226C6 #8226C6 #C626BA
triadic
#8226C6 #C68226 #26C682
tetradic
#8226C6 #C63226 #6AC626 #26BAC6
square
#8226C6 #C63226 #6AC626 #26BAC6
split-complementary
#8226C6 #BAC626 #26C632
monochromatic
#3F125F #601C93 #8226C6 #9F4CDD #BB80E7
Accessibility & contrast
On white
6.90
#8226C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#8226C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8226C6
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8226C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8226C6 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#005AC3
Tritanopia (blue-blind)
#755277
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8226c6; /* rgb */ color: rgb(130, 38, 198); /* oklch */ color: oklch(49.7% 0.227 305.1);
Tailwind
colors: {
custom: {
50: '#ad6dd8',
500: '#8226c6',
950: '#000000',
},
}SCSS
$custom: #8226c6; $custom-light: #ad6dd8; $custom-dark: #000000;
JSON
{
"hex": "#8226c6",
"rgb": {
"r": 130,
"g": 38,
"b": 198
},
"hsl": {
"h": 274.5,
"s": 67.797,
"l": 46.275
},
"oklch": {
"l": 0.49675,
"c": 0.22711,
"h": 305.1
},
"luminance": 0.10209
}Semantic roles & 50–950 ramp
primary
#8226C6
secondary
#9DCF79
accent
#EB3D87
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110815
muted
#807A83