#8831AF#8831AF
#8831AF is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.196 H 313.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8831AF |
|---|---|
| RGB | rgb(136, 49, 175) |
| HSL | hsl(281, 56%, 44%) |
| HSV | hsv(281, 72%, 69%) |
| CMYK | cmyk(22.3%, 72%, 0%, 31.4%) |
| CIE-LAB | lab(38.77, 56.21, -50.67) |
| CIE-LCH | lch(38.77, 75.68, 317.97°) |
| OKLab | oklab(49.7% 0.134 -0.143) |
| OKLCH | oklch(49.7% 0.196 313.1) |
| XYZ | xyz(18.9882, 10.5266, 41.5807) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.62
Purple (survey)
#7E1E9C
ΔE00 4.62
Darkorchid
#9932CC
ΔE00 4.99
Darkviolet
#9400D3
ΔE00 5.67
Barney
#AC1DB8
ΔE00 6.27
Rebeccapurple
#663399
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8831AF #58AF31
analogous
#4931AF #8831AF #AF3197
triadic
#8831AF #AF8831 #31AF88
tetradic
#8831AF #AF4931 #58AF31 #3197AF
square
#8831AF #AF4931 #58AF31 #3197AF
split-complementary
#8831AF #97AF31 #31AF49
monochromatic
#3E164F #63247F #8831AF #A74FCE #BF7FDB
Accessibility & contrast
On white
6.76
#8831AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#8831AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8831AF
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8831AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8831AF | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#265DAC
Tritanopia (blue-blind)
#844C6D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8831af; /* rgb */ color: rgb(136, 49, 175); /* oklch */ color: oklch(49.7% 0.196 313.1);
Tailwind
colors: {
custom: {
50: '#af71c8',
500: '#8831af',
950: '#000000',
},
}SCSS
$custom: #8831af; $custom-light: #af71c8; $custom-dark: #000000;
JSON
{
"hex": "#8831af",
"rgb": {
"r": 136,
"g": 49,
"b": 175
},
"hsl": {
"h": 281.429,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.49704,
"c": 0.19597,
"h": 313.1
},
"luminance": 0.10526
}Semantic roles & 50–950 ramp
primary
#8831AF
secondary
#8FC478
accent
#E04877
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82