#8948C8#8948C8
#8948C8 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.192 H 304.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8948C8 |
|---|---|
| RGB | rgb(137, 72, 200) |
| HSL | hsl(270, 54%, 53%) |
| HSV | hsv(270, 64%, 78%) |
| CMYK | cmyk(31.5%, 64%, 0%, 21.6%) |
| CIE-LAB | lab(44.41, 51.45, -56.22) |
| CIE-LCH | lch(44.41, 76.21, 312.46°) |
| OKLab | oklab(54.31% 0.1076 -0.1594) |
| OKLCH | oklch(54.31% 0.192 304) |
| XYZ | xyz(23.0569, 14.1233, 56.1438) |
| Luminance | 0.1412 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.25
Purply
#983FB2
ΔE00 5.50
Blueviolet
#8A2BE2
ΔE00 5.57
Purpley
#8756E4
ΔE00 5.74
Royal Purple
#7851A9
ΔE00 5.97
Bluish Purple
#703BE7
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8948C8 #87C848
analogous
#4948C8 #8948C8 #C848C7
triadic
#8948C8 #C88948 #48C889
tetradic
#8948C8 #C84948 #87C848 #48C7C8
square
#8948C8 #C84948 #87C848 #48C7C8
split-complementary
#8948C8 #C7C848 #48C849
monochromatic
#4B2373 #6A31A2 #8948C8 #A777D6 #C6A6E4
Accessibility & contrast
On white
5.49
#8948C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#8948C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8948C8
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8948C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8948C8 | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#2269C5
Tritanopia (blue-blind)
#7D6382
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8948c8; /* rgb */ color: rgb(137, 72, 200); /* oklch */ color: oklch(54.3% 0.192 304.0);
Tailwind
colors: {
custom: {
50: '#b07fd9',
500: '#8948c8',
950: '#000000',
},
}SCSS
$custom: #8948c8; $custom-light: #b07fd9; $custom-dark: #000000;
JSON
{
"hex": "#8948c8",
"rgb": {
"r": 137,
"g": 72,
"b": 200
},
"hsl": {
"h": 270.469,
"s": 53.782,
"l": 53.333
},
"oklch": {
"l": 0.5431,
"c": 0.19235,
"h": 304
},
"luminance": 0.14123
}Semantic roles & 50–950 ramp
primary
#8948C8
secondary
#B5D19A
accent
#DD4B93
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83