#9748BF#9748BF
#9748BF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.187 H 312.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9748BF |
|---|---|
| RGB | rgb(151, 72, 191) |
| HSL | hsl(280, 48%, 52%) |
| HSV | hsv(280, 62%, 75%) |
| CMYK | cmyk(20.9%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(45.60, 52.61, -48.99) |
| CIE-LCH | lch(45.60, 71.89, 317.04°) |
| OKLab | oklab(55.37% 0.1262 -0.1378) |
| OKLCH | oklch(55.37% 0.187 312.5) |
| XYZ | xyz(24.4822, 14.9763, 50.8812) |
| Luminance | 0.1498 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.96
Darkorchid
#9932CC
ΔE00 4.18
Deep Lavender
#8D5EB7
ΔE00 5.87
Medium Purple
#9E43A2
ΔE00 5.99
Amethyst
#9B5FC0
ΔE00 6.01
Barney
#AC1DB8
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9748BF #70BF48
analogous
#5C48BF #9748BF #BF48AC
triadic
#9748BF #BF9748 #48BF97
tetradic
#9748BF #BF5C48 #70BF48 #48ACBF
square
#9748BF #BF5C48 #70BF48 #48ACBF
split-complementary
#9748BF #ACBF48 #48BF5C
monochromatic
#512468 #753496 #9748BF #B175CF #CBA3DF
Accessibility & contrast
On white
5.26
#9748BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#9748BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9748BF
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9748BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9748BF | 1.00 | 5.26 | 4.00 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1768C3
Deuteranopia (green-blind)
#406EBC
Tritanopia (blue-blind)
#935E7D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9748bf; /* rgb */ color: rgb(151, 72, 191); /* oklch */ color: oklch(55.4% 0.187 312.5);
Tailwind
colors: {
custom: {
50: '#b980d3',
500: '#9748bf',
950: '#000000',
},
}SCSS
$custom: #9748bf; $custom-light: #b980d3; $custom-dark: #000000;
JSON
{
"hex": "#9748bf",
"rgb": {
"r": 151,
"g": 72,
"b": 191
},
"hsl": {
"h": 279.832,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.55372,
"c": 0.18685,
"h": 312.5
},
"luminance": 0.14976
}Semantic roles & 50–950 ramp
primary
#9748BF
secondary
#A9CC97
accent
#D8507E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83