#8236BA#8236BA
#8236BA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.3% C 0.199 H 306.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8236BA |
|---|---|
| RGB | rgb(130, 54, 186) |
| HSL | hsl(275, 55%, 47%) |
| HSV | hsv(275, 71%, 73%) |
| CMYK | cmyk(30.1%, 71%, 0%, 27.1%) |
| CIE-LAB | lab(39.46, 55.26, -56.10) |
| CIE-LCH | lch(39.46, 78.74, 314.57°) |
| OKLab | oklab(50.26% 0.1194 -0.1592) |
| OKLCH | oklch(50.26% 0.199 306.9) |
| XYZ | xyz(19.3861, 10.9296, 47.5332) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.44
Darkviolet
#9400D3
ΔE00 5.16
Blueviolet
#8A2BE2
ΔE00 5.45
Purply
#983FB2
ΔE00 5.60
Purple (survey)
#7E1E9C
ΔE00 6.28
Bluey Purple
#6241C7
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8236BA #6EBA36
analogous
#4036BA #8236BA #BA36B0
triadic
#8236BA #BA8236 #36BA82
tetradic
#8236BA #BA4036 #6EBA36 #36B0BA
square
#8236BA #BA4036 #6EBA36 #36B0BA
split-complementary
#8236BA #B0BA36 #36BA40
monochromatic
#401A5B #61288B #8236BA #9F5DD0 #BB8DDE
Accessibility & contrast
On white
6.59
#8236BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#8236BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8236BA
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8236BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8236BA | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#065DB7
Tritanopia (blue-blind)
#795474
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8236ba; /* rgb */ color: rgb(130, 54, 186); /* oklch */ color: oklch(50.3% 0.199 306.9);
Tailwind
colors: {
custom: {
50: '#ab73d0',
500: '#8236ba',
950: '#000000',
},
}SCSS
$custom: #8236ba; $custom-light: #ab73d0; $custom-dark: #000000;
JSON
{
"hex": "#8236ba",
"rgb": {
"r": 130,
"g": 54,
"b": 186
},
"hsl": {
"h": 274.545,
"s": 55,
"l": 47.059
},
"oklch": {
"l": 0.50263,
"c": 0.199,
"h": 306.9
},
"luminance": 0.10929
}Semantic roles & 50–950 ramp
primary
#8236BA
secondary
#A1C884
accent
#DE4989
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110814
muted
#807B82