#9748BA#9748BA
#9748BA is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.1% C 0.182 H 314.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9748BA |
|---|---|
| RGB | rgb(151, 72, 186) |
| HSL | hsl(282, 45%, 51%) |
| HSV | hsv(282, 61%, 73%) |
| CMYK | cmyk(18.8%, 61.3%, 0%, 27.1%) |
| CIE-LAB | lab(45.30, 51.53, -46.55) |
| CIE-LCH | lch(45.30, 69.45, 317.91°) |
| OKLab | oklab(55.06% 0.1263 -0.1306) |
| OKLCH | oklch(55.06% 0.182 314) |
| XYZ | xyz(23.9413, 14.7599, 48.0326) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.35
Darkorchid
#9932CC
ΔE00 4.62
Medium Purple
#9E43A2
ΔE00 5.17
Deep Lavender
#8D5EB7
ΔE00 5.84
Amethyst
#9B5FC0
ΔE00 6.07
Barney
#AC1DB8
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9748BA #6BBA48
analogous
#5E48BA #9748BA #BA48A4
triadic
#9748BA #BA9748 #48BA97
tetradic
#9748BA #BA5E48 #6BBA48 #48A4BA
square
#9748BA #BA5E48 #6BBA48 #48A4BA
split-complementary
#9748BA #A4BA48 #48BA5E
monochromatic
#502562 #74368F #9748BA #B074CB #CAA1DC
Accessibility & contrast
On white
5.31
#9748BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#9748BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9748BA
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9748BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9748BA | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2067BE
Deuteranopia (green-blind)
#446DB7
Tritanopia (blue-blind)
#945D7A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9748ba; /* rgb */ color: rgb(151, 72, 186); /* oklch */ color: oklch(55.1% 0.182 314.0);
Tailwind
colors: {
custom: {
50: '#b97fcf',
500: '#9748ba',
950: '#000000',
},
}SCSS
$custom: #9748ba; $custom-light: #b97fcf; $custom-dark: #000000;
JSON
{
"hex": "#9748ba",
"rgb": {
"r": 151,
"g": 72,
"b": 186
},
"hsl": {
"h": 281.579,
"s": 45.238,
"l": 50.588
},
"oklch": {
"l": 0.5506,
"c": 0.18168,
"h": 314
},
"luminance": 0.14759
}Semantic roles & 50–950 ramp
primary
#9748BA
secondary
#A5C896
accent
#D5537B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82