#8A289F#8A289F
#8A289F is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.192 H 319.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8A289F |
|---|---|
| RGB | rgb(138, 40, 159) |
| HSL | hsl(289, 60%, 39%) |
| HSV | hsv(289, 75%, 62%) |
| CMYK | cmyk(13.2%, 74.8%, 0%, 37.6%) |
| CIE-LAB | lab(36.79, 56.89, -44.26) |
| CIE-LCH | lch(36.79, 72.08, 322.12°) |
| OKLab | oklab(48.02% 0.1471 -0.1241) |
| OKLCH | oklch(48.02% 0.192 319.8) |
| XYZ | xyz(17.4972, 9.4249, 33.6917) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.04
Barney Purple
#A00498
ΔE00 4.81
Warm Purple
#952E8F
ΔE00 4.86
Darkmagenta
#8B008B
ΔE00 4.87
Purply
#983FB2
ΔE00 5.94
Barney
#AC1DB8
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A289F #3D9F28
analogous
#4F289F #8A289F #9F2879
triadic
#8A289F #9F8A28 #289F8A
tetradic
#8A289F #9F4F28 #3D9F28 #28799F
square
#8A289F #9F4F28 #3D9F28 #28799F
split-complementary
#8A289F #799F28 #289F4F
monochromatic
#350F3D #601C6E #8A289F #B237CD #C568D9
Accessibility & contrast
On white
7.28
#8A289F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#8A289F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A289F
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A289F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A289F | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#335A9C
Tritanopia (blue-blind)
#8A4062
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8a289f; /* rgb */ color: rgb(138, 40, 159); /* oklch */ color: oklch(48.0% 0.192 319.8);
Tailwind
colors: {
custom: {
50: '#b06cbc',
500: '#8a289f',
950: '#000000',
},
}SCSS
$custom: #8a289f; $custom-light: #b06cbc; $custom-dark: #000000;
JSON
{
"hex": "#8a289f",
"rgb": {
"r": 138,
"g": 40,
"b": 159
},
"hsl": {
"h": 289.412,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.48017,
"c": 0.19248,
"h": 319.8
},
"luminance": 0.09424
}Semantic roles & 50–950 ramp
primary
#8A289F
secondary
#74BF64
accent
#E34561
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81