#8334C2#8334C2
#8334C2 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.210 H 305.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8334C2 |
|---|---|
| RGB | rgb(131, 52, 194) |
| HSL | hsl(273, 58%, 48%) |
| HSV | hsv(273, 73%, 76%) |
| CMYK | cmyk(32.5%, 73.2%, 0%, 23.9%) |
| CIE-LAB | lab(39.88, 58.14, -60.11) |
| CIE-LCH | lch(39.88, 83.63, 314.05°) |
| OKLab | oklab(50.77% 0.1214 -0.171) |
| OKLCH | oklch(50.77% 0.21 305.4) |
| XYZ | xyz(20.3235, 11.1765, 52.1151) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.00
Blueviolet
#8A2BE2
ΔE00 4.28
Darkviolet
#9400D3
ΔE00 4.41
Violet (survey)
#9A0EEA
ΔE00 5.92
Purply
#983FB2
ΔE00 6.15
Bluey Purple
#6241C7
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8334C2 #73C234
analogous
#3C34C2 #8334C2 #C234BA
triadic
#8334C2 #C28334 #34C283
tetradic
#8334C2 #C23C34 #73C234 #34BAC2
square
#8334C2 #C23C34 #73C234 #34BAC2
split-complementary
#8334C2 #BAC234 #34C23C
monochromatic
#421A61 #622792 #8334C2 #A05FD4 #BD8FE1
Accessibility & contrast
On white
6.49
#8334C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#8334C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8334C2
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8334C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8334C2 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#775678
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8334c2; /* rgb */ color: rgb(131, 52, 194); /* oklch */ color: oklch(50.8% 0.210 305.4);
Tailwind
colors: {
custom: {
50: '#ac73d5',
500: '#8334c2',
950: '#000000',
},
}SCSS
$custom: #8334c2; $custom-light: #ac73d5; $custom-dark: #000000;
JSON
{
"hex": "#8334c2",
"rgb": {
"r": 131,
"g": 52,
"b": 194
},
"hsl": {
"h": 273.38,
"s": 57.724,
"l": 48.235
},
"oklch": {
"l": 0.50771,
"c": 0.20966,
"h": 305.4
},
"luminance": 0.11176
}Semantic roles & 50–950 ramp
primary
#8334C2
secondary
#A5CC86
accent
#E1478B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83