#8A48BF#8A48BF
#8A48BF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.183 H 306.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8A48BF |
|---|---|
| RGB | rgb(138, 72, 191) |
| HSL | hsl(273, 48%, 52%) |
| HSV | hsv(273, 62%, 75%) |
| CMYK | cmyk(27.7%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(43.94, 49.54, -51.74) |
| CIE-LCH | lch(43.94, 71.64, 313.76°) |
| OKLab | oklab(53.81% 0.1094 -0.1462) |
| OKLCH | oklch(53.81% 0.183 306.8) |
| XYZ | xyz(22.2006, 13.7998, 50.7742) |
| Luminance | 0.1380 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.27
Darkorchid
#9932CC
ΔE00 4.29
Royal Purple
#7851A9
ΔE00 5.14
Deep Lavender
#8D5EB7
ΔE00 6.24
Blueviolet
#8A2BE2
ΔE00 6.52
Purpley
#8756E4
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A48BF #7DBF48
analogous
#4F48BF #8A48BF #BF48B9
triadic
#8A48BF #BF8A48 #48BF8A
tetradic
#8A48BF #BF4F48 #7DBF48 #48B9BF
square
#8A48BF #BF4F48 #7DBF48 #48B9BF
split-complementary
#8A48BF #B9BF48 #48BF4F
monochromatic
#4A2468 #6A3496 #8A48BF #A775CF #C4A3DF
Accessibility & contrast
On white
5.59
#8A48BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#8A48BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A48BF
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A48BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A48BF | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0166C3
Deuteranopia (green-blind)
#3168BC
Tritanopia (blue-blind)
#81607D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8a48bf; /* rgb */ color: rgb(138, 72, 191); /* oklch */ color: oklch(53.8% 0.183 306.8);
Tailwind
colors: {
custom: {
50: '#b07fd3',
500: '#8a48bf',
950: '#000000',
},
}SCSS
$custom: #8a48bf; $custom-light: #b07fd3; $custom-dark: #000000;
JSON
{
"hex": "#8a48bf",
"rgb": {
"r": 138,
"g": 72,
"b": 191
},
"hsl": {
"h": 273.277,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.53813,
"c": 0.18265,
"h": 306.8
},
"luminance": 0.138
}Semantic roles & 50–950 ramp
primary
#8A48BF
secondary
#AFCC97
accent
#D8508C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83