#8A269E#8A269E
#8A269E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.194 H 320.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8A269E |
|---|---|
| RGB | rgb(138, 38, 158) |
| HSL | hsl(290, 61%, 38%) |
| HSV | hsv(290, 76%, 62%) |
| CMYK | cmyk(12.7%, 75.9%, 0%, 38%) |
| CIE-LAB | lab(36.48, 57.41, -44.15) |
| CIE-LCH | lch(36.48, 72.42, 322.44°) |
| OKLab | oklab(47.78% 0.1491 -0.1238) |
| OKLCH | oklch(47.78% 0.194 320.3) |
| XYZ | xyz(17.3452, 9.2590, 33.2147) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.87
Darkmagenta
#8B008B
ΔE00 4.56
Barney Purple
#A00498
ΔE00 4.66
Warm Purple
#952E8F
ΔE00 4.84
Purply
#983FB2
ΔE00 6.23
Purple
#800080
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A269E #3A9E26
analogous
#4E269E #8A269E #9E2676
triadic
#8A269E #9E8A26 #269E8A
tetradic
#8A269E #9E4E26 #3A9E26 #26769E
square
#8A269E #9E4E26 #3A9E26 #26769E
split-complementary
#8A269E #769E26 #269E4E
monochromatic
#340E3B #5F1A6D #8A269E #B433CE #C665DA
Accessibility & contrast
On white
7.36
#8A269E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#8A269E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A269E
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A269E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A269E | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#32599B
Tritanopia (blue-blind)
#8B3E61
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8a269e; /* rgb */ color: rgb(138, 38, 158); /* oklch */ color: oklch(47.8% 0.194 320.3);
Tailwind
colors: {
custom: {
50: '#b06cbb',
500: '#8a269e',
950: '#000000',
},
}SCSS
$custom: #8a269e; $custom-light: #b06cbb; $custom-dark: #000000;
JSON
{
"hex": "#8a269e",
"rgb": {
"r": 138,
"g": 38,
"b": 158
},
"hsl": {
"h": 290,
"s": 61.224,
"l": 38.431
},
"oklch": {
"l": 0.47775,
"c": 0.19378,
"h": 320.3
},
"luminance": 0.09258
}Semantic roles & 50–950 ramp
primary
#8A269E
secondary
#70C060
accent
#E4435E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81