#8948BF#8948BF
#8948BF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.182 H 306.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8948BF |
|---|---|
| RGB | rgb(137, 72, 191) |
| HSL | hsl(273, 48%, 52%) |
| HSV | hsv(273, 62%, 75%) |
| CMYK | cmyk(28.3%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(43.82, 49.31, -51.94) |
| CIE-LCH | lch(43.82, 71.62, 313.51°) |
| OKLab | oklab(53.7% 0.1081 -0.1469) |
| OKLCH | oklch(53.7% 0.182 306.4) |
| XYZ | xyz(22.0359, 13.7149, 50.7665) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.37
Purply
#983FB2
ΔE00 4.42
Royal Purple
#7851A9
ΔE00 5.05
Deep Lavender
#8D5EB7
ΔE00 6.31
Blueviolet
#8A2BE2
ΔE00 6.47
Purpley
#8756E4
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8948BF #7EBF48
analogous
#4E48BF #8948BF #BF48BA
triadic
#8948BF #BF8948 #48BF89
tetradic
#8948BF #BF4E48 #7EBF48 #48BABF
square
#8948BF #BF4E48 #7EBF48 #48BABF
split-complementary
#8948BF #BABF48 #48BF4E
monochromatic
#492468 #693496 #8948BF #A675CF #C3A3DF
Accessibility & contrast
On white
5.61
#8948BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#8948BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8948BF
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8948BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8948BF | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2F68BC
Tritanopia (blue-blind)
#80607D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8948bf; /* rgb */ color: rgb(137, 72, 191); /* oklch */ color: oklch(53.7% 0.182 306.4);
Tailwind
colors: {
custom: {
50: '#af7fd3',
500: '#8948bf',
950: '#000000',
},
}SCSS
$custom: #8948bf; $custom-light: #af7fd3; $custom-dark: #000000;
JSON
{
"hex": "#8948bf",
"rgb": {
"r": 137,
"g": 72,
"b": 191
},
"hsl": {
"h": 272.773,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.53697,
"c": 0.18238,
"h": 306.4
},
"luminance": 0.13715
}Semantic roles & 50–950 ramp
primary
#8948BF
secondary
#AFCC97
accent
#D8508E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83