#8948BC#8948BC
#8948BC is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.179 H 307.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8948BC |
|---|---|
| RGB | rgb(137, 72, 188) |
| HSL | hsl(274, 46%, 51%) |
| HSV | hsv(274, 62%, 74%) |
| CMYK | cmyk(27.1%, 61.7%, 0%, 26.3%) |
| CIE-LAB | lab(43.63, 48.61, -50.50) |
| CIE-LCH | lch(43.63, 70.09, 313.91°) |
| OKLab | oklab(53.5% 0.1082 -0.1426) |
| OKLCH | oklch(53.5% 0.179 307.2) |
| XYZ | xyz(21.7091, 13.5842, 49.0456) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.10
Darkorchid
#9932CC
ΔE00 4.52
Royal Purple
#7851A9
ΔE00 4.79
Deep Lavender
#8D5EB7
ΔE00 6.20
Blueviolet
#8A2BE2
ΔE00 6.82
Purpley
#8756E4
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8948BC #7BBC48
analogous
#4F48BC #8948BC #BC48B5
triadic
#8948BC #BC8948 #48BC89
tetradic
#8948BC #BC4F48 #7BBC48 #48B5BC
square
#8948BC #BC4F48 #7BBC48 #48B5BC
split-complementary
#8948BC #B5BC48 #48BC4F
monochromatic
#492565 #693592 #8948BC #A675CC #C3A2DD
Accessibility & contrast
On white
5.65
#8948BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#8948BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8948BC
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8948BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8948BC | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B65C0
Deuteranopia (green-blind)
#3368B9
Tritanopia (blue-blind)
#815F7B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8948bc; /* rgb */ color: rgb(137, 72, 188); /* oklch */ color: oklch(53.5% 0.179 307.2);
Tailwind
colors: {
custom: {
50: '#af7ed1',
500: '#8948bc',
950: '#000000',
},
}SCSS
$custom: #8948bc; $custom-light: #af7ed1; $custom-dark: #000000;
JSON
{
"hex": "#8948bc",
"rgb": {
"r": 137,
"g": 72,
"b": 188
},
"hsl": {
"h": 273.621,
"s": 46.4,
"l": 50.98
},
"oklch": {
"l": 0.53498,
"c": 0.17904,
"h": 307.2
},
"luminance": 0.13584
}Semantic roles & 50–950 ramp
primary
#8948BC
secondary
#ADCA96
accent
#D6528C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82