#8334AF#8334AF
#8334AF is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.191 H 310.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8334AF |
|---|---|
| RGB | rgb(131, 52, 175) |
| HSL | hsl(279, 54%, 45%) |
| HSV | hsv(279, 70%, 69%) |
| CMYK | cmyk(25.1%, 70.3%, 0%, 31.4%) |
| CIE-LAB | lab(38.51, 53.89, -51.13) |
| CIE-LCH | lch(38.51, 74.28, 316.51°) |
| OKLab | oklab(49.37% 0.1243 -0.1446) |
| OKLCH | oklch(49.37% 0.191 310.7) |
| XYZ | xyz(18.3244, 10.3768, 41.5868) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.77
Purply
#983FB2
ΔE00 5.13
Darkorchid
#9932CC
ΔE00 5.33
Rebeccapurple
#663399
ΔE00 5.87
Darkviolet
#9400D3
ΔE00 5.96
Blueviolet
#8A2BE2
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8334AF #60AF34
analogous
#4634AF #8334AF #AF349D
triadic
#8334AF #AF8334 #34AF83
tetradic
#8334AF #AF4634 #60AF34 #349DAF
square
#8334AF #AF4634 #60AF34 #349DAF
split-complementary
#8334AF #9DAF34 #34AF46
monochromatic
#3C1851 #602680 #8334AF #A154CC #BB83DA
Accessibility & contrast
On white
6.83
#8334AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#8334AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8334AF
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8334AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8334AF | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#215CAC
Tritanopia (blue-blind)
#7D4F6E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8334af; /* rgb */ color: rgb(131, 52, 175); /* oklch */ color: oklch(49.4% 0.191 310.7);
Tailwind
colors: {
custom: {
50: '#ab72c8',
500: '#8334af',
950: '#000000',
},
}SCSS
$custom: #8334af; $custom-light: #ab72c8; $custom-dark: #000000;
JSON
{
"hex": "#8334af",
"rgb": {
"r": 131,
"g": 52,
"b": 175
},
"hsl": {
"h": 278.537,
"s": 54.185,
"l": 44.51
},
"oklch": {
"l": 0.4937,
"c": 0.19065,
"h": 310.7
},
"luminance": 0.10376
}Semantic roles & 50–950 ramp
primary
#8334AF
secondary
#95C47B
accent
#DE4A7F
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82