#9548BF#9548BF
#9548BF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.1% C 0.186 H 311.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9548BF |
|---|---|
| RGB | rgb(149, 72, 191) |
| HSL | hsl(279, 48%, 52%) |
| HSV | hsv(279, 62%, 75%) |
| CMYK | cmyk(22%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(45.34, 52.13, -49.42) |
| CIE-LCH | lch(45.34, 71.84, 316.53°) |
| OKLab | oklab(55.13% 0.1237 -0.1391) |
| OKLCH | oklch(55.13% 0.186 311.6) |
| XYZ | xyz(24.1140, 14.7865, 50.8639) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.05
Darkorchid
#9932CC
ΔE00 4.09
Deep Lavender
#8D5EB7
ΔE00 5.86
Amethyst
#9B5FC0
ΔE00 6.18
Medium Purple
#9E43A2
ΔE00 6.20
Royal Purple
#7851A9
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9548BF #72BF48
analogous
#5A48BF #9548BF #BF48AD
triadic
#9548BF #BF9548 #48BF95
tetradic
#9548BF #BF5A48 #72BF48 #48ADBF
square
#9548BF #BF5A48 #72BF48 #48ADBF
split-complementary
#9548BF #ADBF48 #48BF5A
monochromatic
#502468 #733496 #9548BF #AF75CF #CAA3DF
Accessibility & contrast
On white
5.31
#9548BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#9548BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9548BF
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9548BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9548BF | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1468C3
Deuteranopia (green-blind)
#3D6DBC
Tritanopia (blue-blind)
#905F7D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9548bf; /* rgb */ color: rgb(149, 72, 191); /* oklch */ color: oklch(55.1% 0.186 311.6);
Tailwind
colors: {
custom: {
50: '#b77fd3',
500: '#9548bf',
950: '#000000',
},
}SCSS
$custom: #9548bf; $custom-light: #b77fd3; $custom-dark: #000000;
JSON
{
"hex": "#9548bf",
"rgb": {
"r": 149,
"g": 72,
"b": 191
},
"hsl": {
"h": 278.824,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.55127,
"c": 0.18613,
"h": 311.6
},
"luminance": 0.14786
}Semantic roles & 50–950 ramp
primary
#9548BF
secondary
#AACC97
accent
#D85080
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83