#8B34AF#8B34AF
#8B34AF is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.193 H 314.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8B34AF |
|---|---|
| RGB | rgb(139, 52, 175) |
| HSL | hsl(282, 54%, 45%) |
| HSV | hsv(282, 70%, 69%) |
| CMYK | cmyk(20.6%, 70.3%, 0%, 31.4%) |
| CIE-LAB | lab(39.65, 55.59, -49.23) |
| CIE-LCH | lch(39.65, 74.26, 318.47°) |
| OKLab | oklab(50.42% 0.1347 -0.1387) |
| OKLCH | oklch(50.42% 0.193 314.2) |
| XYZ | xyz(19.6120, 11.0407, 41.6471) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.73
Darkorchid
#9932CC
ΔE00 4.65
Purple (survey)
#7E1E9C
ΔE00 5.27
Barney
#AC1DB8
ΔE00 5.72
Darkviolet
#9400D3
ΔE00 6.00
Medium Purple
#9E43A2
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B34AF #58AF34
analogous
#4E34AF #8B34AF #AF3496
triadic
#8B34AF #AF8B34 #34AF8B
tetradic
#8B34AF #AF4E34 #58AF34 #3496AF
square
#8B34AF #AF4E34 #58AF34 #3496AF
split-complementary
#8B34AF #96AF34 #34AF4E
monochromatic
#401851 #662680 #8B34AF #A954CC #C183DA
Accessibility & contrast
On white
6.55
#8B34AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#8B34AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B34AF
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B34AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B34AF | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#2D60AC
Tritanopia (blue-blind)
#884D6E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8b34af; /* rgb */ color: rgb(139, 52, 175); /* oklch */ color: oklch(50.4% 0.193 314.2);
Tailwind
colors: {
custom: {
50: '#b173c7',
500: '#8b34af',
950: '#000000',
},
}SCSS
$custom: #8b34af; $custom-light: #b173c7; $custom-dark: #000000;
JSON
{
"hex": "#8b34af",
"rgb": {
"r": 139,
"g": 52,
"b": 175
},
"hsl": {
"h": 282.439,
"s": 54.185,
"l": 44.51
},
"oklch": {
"l": 0.50419,
"c": 0.19338,
"h": 314.2
},
"luminance": 0.1104
}Semantic roles & 50–950 ramp
primary
#8B34AF
secondary
#90C47B
accent
#DE4A75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82