#9248BF#9248BF
#9248BF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.8% C 0.185 H 310.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9248BF |
|---|---|
| RGB | rgb(146, 72, 191) |
| HSL | hsl(277, 48%, 52%) |
| HSV | hsv(277, 62%, 75%) |
| CMYK | cmyk(23.6%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(44.95, 51.42, -50.07) |
| CIE-LCH | lch(44.95, 71.77, 315.76°) |
| OKLab | oklab(54.76% 0.1198 -0.1411) |
| OKLCH | oklch(54.76% 0.185 310.3) |
| XYZ | xyz(23.5736, 14.5078, 50.8386) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.27
Darkorchid
#9932CC
ΔE00 4.02
Deep Lavender
#8D5EB7
ΔE00 5.89
Royal Purple
#7851A9
ΔE00 6.07
Amethyst
#9B5FC0
ΔE00 6.47
Medium Purple
#9E43A2
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9248BF #75BF48
analogous
#5748BF #9248BF #BF48B1
triadic
#9248BF #BF9248 #48BF92
tetradic
#9248BF #BF5748 #75BF48 #48B1BF
square
#9248BF #BF5748 #75BF48 #48B1BF
split-complementary
#9248BF #B1BF48 #48BF57
monochromatic
#4F2468 #713496 #9248BF #AD75CF #C8A3DF
Accessibility & contrast
On white
5.38
#9248BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#9248BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9248BF
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9248BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9248BF | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1067C3
Deuteranopia (green-blind)
#3A6CBC
Tritanopia (blue-blind)
#8C5F7D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9248bf; /* rgb */ color: rgb(146, 72, 191); /* oklch */ color: oklch(54.8% 0.185 310.3);
Tailwind
colors: {
custom: {
50: '#b57fd3',
500: '#9248bf',
950: '#000000',
},
}SCSS
$custom: #9248bf; $custom-light: #b57fd3; $custom-dark: #000000;
JSON
{
"hex": "#9248bf",
"rgb": {
"r": 146,
"g": 72,
"b": 191
},
"hsl": {
"h": 277.311,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.54762,
"c": 0.1851,
"h": 310.3
},
"luminance": 0.14507
}Semantic roles & 50–950 ramp
primary
#9248BF
secondary
#ABCC97
accent
#D85083
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83