#8236AE#8236AE
#8236AE is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.187 H 310.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8236AE |
|---|---|
| RGB | rgb(130, 54, 174) |
| HSL | hsl(278, 53%, 45%) |
| HSV | hsv(278, 69%, 68%) |
| CMYK | cmyk(25.3%, 69%, 0%, 31.8%) |
| CIE-LAB | lab(38.62, 52.56, -50.36) |
| CIE-LCH | lch(38.62, 72.79, 316.23°) |
| OKLab | oklab(49.4% 0.1209 -0.1423) |
| OKLCH | oklch(49.4% 0.187 310.3) |
| XYZ | xyz(18.1636, 10.4405, 41.0946) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.94
Purply
#983FB2
ΔE00 5.07
Darkorchid
#9932CC
ΔE00 5.47
Rebeccapurple
#663399
ΔE00 5.74
Darkviolet
#9400D3
ΔE00 6.29
Royal Purple
#7851A9
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8236AE #62AE36
analogous
#4636AE #8236AE #AE369E
triadic
#8236AE #AE8236 #36AE82
tetradic
#8236AE #AE4636 #62AE36 #369EAE
square
#8236AE #AE4636 #62AE36 #369EAE
split-complementary
#8236AE #9EAE36 #36AE46
monochromatic
#3C1951 #5F287F #8236AE #A056CB #BA85D9
Accessibility & contrast
On white
6.80
#8236AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#8236AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8236AE
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8236AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8236AE | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#245CAB
Tritanopia (blue-blind)
#7C506E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8236ae; /* rgb */ color: rgb(130, 54, 174); /* oklch */ color: oklch(49.4% 0.187 310.3);
Tailwind
colors: {
custom: {
50: '#aa73c7',
500: '#8236ae',
950: '#000000',
},
}SCSS
$custom: #8236ae; $custom-light: #aa73c7; $custom-dark: #000000;
JSON
{
"hex": "#8236ae",
"rgb": {
"r": 130,
"g": 54,
"b": 174
},
"hsl": {
"h": 278,
"s": 52.632,
"l": 44.706
},
"oklch": {
"l": 0.49398,
"c": 0.18678,
"h": 310.3
},
"luminance": 0.1044
}Semantic roles & 50–950 ramp
primary
#8236AE
secondary
#97C37D
accent
#DC4C81
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82