#8A4BC2#8A4BC2
#8A4BC2 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.182 H 305.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4BC2 |
|---|---|
| RGB | rgb(138, 75, 194) |
| HSL | hsl(272, 49%, 53%) |
| HSV | hsv(272, 61%, 76%) |
| CMYK | cmyk(28.9%, 61.3%, 0%, 23.9%) |
| CIE-LAB | lab(44.70, 48.71, -52.27) |
| CIE-LCH | lch(44.70, 71.45, 312.99°) |
| OKLab | oklab(54.43% 0.1057 -0.1478) |
| OKLCH | oklch(54.43% 0.182 305.6) |
| XYZ | xyz(22.7328, 14.3306, 52.5970) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.75
Purply
#983FB2
ΔE00 4.90
Royal Purple
#7851A9
ΔE00 5.19
Deep Lavender
#8D5EB7
ΔE00 5.73
Purpley
#8756E4
ΔE00 6.20
Blueviolet
#8A2BE2
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4BC2 #83C24B
analogous
#4E4BC2 #8A4BC2 #C24BBE
triadic
#8A4BC2 #C28A4B #4BC28A
tetradic
#8A4BC2 #C24E4B #83C24B #4BBEC2
square
#8A4BC2 #C24E4B #83C24B #4BBEC2
split-complementary
#8A4BC2 #BEC24B #4BC24E
monochromatic
#4B256D #6B359B #8A4BC2 #A879D1 #C5A6E1
Accessibility & contrast
On white
5.43
#8A4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#8A4BC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4BC2
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4BC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4BC2 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0768C6
Deuteranopia (green-blind)
#316ABF
Tritanopia (blue-blind)
#80637F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8a4bc2; /* rgb */ color: rgb(138, 75, 194); /* oklch */ color: oklch(54.4% 0.182 305.6);
Tailwind
colors: {
custom: {
50: '#b080d5',
500: '#8a4bc2',
950: '#000000',
},
}SCSS
$custom: #8a4bc2; $custom-light: #b080d5; $custom-dark: #000000;
JSON
{
"hex": "#8a4bc2",
"rgb": {
"r": 138,
"g": 75,
"b": 194
},
"hsl": {
"h": 271.765,
"s": 49.378,
"l": 52.745
},
"oklch": {
"l": 0.54425,
"c": 0.18169,
"h": 305.6
},
"luminance": 0.1433
}Semantic roles & 50–950 ramp
primary
#8A4BC2
secondary
#B3CE9B
accent
#D94F90
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83