#8339AF#8339AF
#8339AF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.184 H 310.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #8339AF |
|---|---|
| RGB | rgb(131, 57, 175) |
| HSL | hsl(278, 51%, 45%) |
| HSV | hsv(278, 67%, 69%) |
| CMYK | cmyk(25.1%, 67.4%, 0%, 31.4%) |
| CIE-LAB | lab(39.32, 51.62, -49.82) |
| CIE-LCH | lch(39.32, 71.74, 316.02°) |
| OKLab | oklab(49.95% 0.1188 -0.1407) |
| OKLCH | oklch(49.95% 0.184 310.2) |
| XYZ | xyz(18.5596, 10.8471, 41.6651) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.61
Darkorchid
#9932CC
ΔE00 5.20
Purple (survey)
#7E1E9C
ΔE00 5.55
Rebeccapurple
#663399
ΔE00 6.13
Royal Purple
#7851A9
ΔE00 6.28
Darkviolet
#9400D3
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8339AF #65AF39
analogous
#4839AF #8339AF #AF39A0
triadic
#8339AF #AF8339 #39AF83
tetradic
#8339AF #AF4839 #65AF39 #39A0AF
square
#8339AF #AF4839 #65AF39 #39A0AF
split-complementary
#8339AF #A0AF39 #39AF48
monochromatic
#3E1B53 #602A81 #8339AF #A15BCA #BB8AD9
Accessibility & contrast
On white
6.63
#8339AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#8339AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8339AF
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8339AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8339AF | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#7D526F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8339af; /* rgb */ color: rgb(131, 57, 175); /* oklch */ color: oklch(50.0% 0.184 310.2);
Tailwind
colors: {
custom: {
50: '#ab75c8',
500: '#8339af',
950: '#000000',
},
}SCSS
$custom: #8339af; $custom-light: #ab75c8; $custom-dark: #000000;
JSON
{
"hex": "#8339af",
"rgb": {
"r": 131,
"g": 57,
"b": 175
},
"hsl": {
"h": 277.627,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.4995,
"c": 0.18418,
"h": 310.2
},
"luminance": 0.10847
}Semantic roles & 50–950 ramp
primary
#8339AF
secondary
#99C381
accent
#DA4D82
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82