#8336AF#8336AF
#8336AF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.188 H 310.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8336AF |
|---|---|
| RGB | rgb(131, 54, 175) |
| HSL | hsl(278, 53%, 45%) |
| HSV | hsv(278, 69%, 69%) |
| CMYK | cmyk(25.1%, 69.1%, 0%, 31.4%) |
| CIE-LAB | lab(38.83, 53.00, -50.61) |
| CIE-LCH | lch(38.83, 73.28, 316.32°) |
| OKLab | oklab(49.6% 0.1221 -0.1431) |
| OKLCH | oklch(49.6% 0.188 310.5) |
| XYZ | xyz(18.4156, 10.5592, 41.6171) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.91
Purple (survey)
#7E1E9C
ΔE00 5.07
Darkorchid
#9932CC
ΔE00 5.26
Rebeccapurple
#663399
ΔE00 5.96
Darkviolet
#9400D3
ΔE00 6.15
Royal Purple
#7851A9
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8336AF #62AF36
analogous
#4736AF #8336AF #AF369E
triadic
#8336AF #AF8336 #36AF83
tetradic
#8336AF #AF4736 #62AF36 #369EAF
square
#8336AF #AF4736 #62AF36 #369EAF
split-complementary
#8336AF #9EAF36 #36AF47
monochromatic
#3D1951 #602880 #8336AF #A157CB #BB86DA
Accessibility & contrast
On white
6.75
#8336AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#8336AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8336AF
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8336AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8336AF | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#245DAC
Tritanopia (blue-blind)
#7D506E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8336af; /* rgb */ color: rgb(131, 54, 175); /* oklch */ color: oklch(49.6% 0.188 310.5);
Tailwind
colors: {
custom: {
50: '#ab73c8',
500: '#8336af',
950: '#000000',
},
}SCSS
$custom: #8336af; $custom-light: #ab73c8; $custom-dark: #000000;
JSON
{
"hex": "#8336af",
"rgb": {
"r": 131,
"g": 54,
"b": 175
},
"hsl": {
"h": 278.182,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.49596,
"c": 0.18811,
"h": 310.5
},
"luminance": 0.10559
}Semantic roles & 50–950 ramp
primary
#8336AF
secondary
#97C37D
accent
#DC4C80
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82