#8A249F#8A249F
#8A249F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.197 H 320.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8A249F |
|---|---|
| RGB | rgb(138, 36, 159) |
| HSL | hsl(290, 63%, 38%) |
| HSV | hsv(290, 77%, 62%) |
| CMYK | cmyk(13.2%, 77.4%, 0%, 37.6%) |
| CIE-LAB | lab(36.31, 58.27, -45.03) |
| CIE-LCH | lch(36.31, 73.65, 322.30°) |
| OKLab | oklab(47.68% 0.1508 -0.1263) |
| OKLCH | oklch(47.68% 0.197 320) |
| XYZ | xyz(17.3693, 9.1691, 33.6491) |
| Luminance | 0.0917 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.67
Darkmagenta
#8B008B
ΔE00 4.52
Barney Purple
#A00498
ΔE00 4.71
Warm Purple
#952E8F
ΔE00 5.11
Purple
#800080
ΔE00 6.29
Purply
#983FB2
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A249F #399F24
analogous
#4C249F #8A249F #9F2476
triadic
#8A249F #9F8A24 #249F8A
tetradic
#8A249F #9F4C24 #399F24 #24769F
square
#8A249F #9F4C24 #399F24 #24769F
split-complementary
#8A249F #769F24 #249F4C
monochromatic
#330D3B #5F196D #8A249F #B530D0 #C762DB
Accessibility & contrast
On white
7.41
#8A249F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#8A249F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A249F
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A249F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A249F | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#30599C
Tritanopia (blue-blind)
#8A3E61
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8a249f; /* rgb */ color: rgb(138, 36, 159); /* oklch */ color: oklch(47.7% 0.197 320.0);
Tailwind
colors: {
custom: {
50: '#b06bbc',
500: '#8a249f',
950: '#000000',
},
}SCSS
$custom: #8a249f; $custom-light: #b06bbc; $custom-dark: #000000;
JSON
{
"hex": "#8a249f",
"rgb": {
"r": 138,
"g": 36,
"b": 159
},
"hsl": {
"h": 289.756,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.47675,
"c": 0.19672,
"h": 320
},
"luminance": 0.09168
}Semantic roles & 50–950 ramp
primary
#8A249F
secondary
#6FC15E
accent
#E6425E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81