#9245BB#9245BB
#9245BB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.185 H 311.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9245BB |
|---|---|
| RGB | rgb(146, 69, 187) |
| HSL | hsl(279, 46%, 50%) |
| HSV | hsv(279, 63%, 73%) |
| CMYK | cmyk(21.9%, 63.1%, 0%, 26.7%) |
| CIE-LAB | lab(44.17, 52.00, -48.99) |
| CIE-LCH | lch(44.17, 71.44, 316.71°) |
| OKLab | oklab(54.12% 0.1236 -0.1379) |
| OKLCH | oklch(54.12% 0.185 311.9) |
| XYZ | xyz(22.9502, 13.9557, 48.4888) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.43
Darkorchid
#9932CC
ΔE00 3.80
Medium Purple
#9E43A2
ΔE00 5.94
Royal Purple
#7851A9
ΔE00 6.10
Barney
#AC1DB8
ΔE00 6.27
Deep Lavender
#8D5EB7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9245BB #6EBB45
analogous
#5745BB #9245BB #BB45A9
triadic
#9245BB #BB9245 #45BB92
tetradic
#9245BB #BB5745 #6EBB45 #45A9BB
square
#9245BB #BB5745 #6EBB45 #45A9BB
split-complementary
#9245BB #A9BB45 #45BB57
monochromatic
#4C2462 #6F348F #9245BB #AC72CB #C79FDC
Accessibility & contrast
On white
5.54
#9245BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#9245BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9245BB
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9245BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9245BB | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F65BF
Deuteranopia (green-blind)
#3B6AB8
Tritanopia (blue-blind)
#8D5C7A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9245bb; /* rgb */ color: rgb(146, 69, 187); /* oklch */ color: oklch(54.1% 0.185 311.9);
Tailwind
colors: {
custom: {
50: '#b57dd0',
500: '#9245bb',
950: '#000000',
},
}SCSS
$custom: #9245bb; $custom-light: #b57dd0; $custom-dark: #000000;
JSON
{
"hex": "#9245bb",
"rgb": {
"r": 146,
"g": 69,
"b": 187
},
"hsl": {
"h": 279.153,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.54116,
"c": 0.18516,
"h": 311.9
},
"luminance": 0.13955
}Semantic roles & 50–950 ramp
primary
#9245BB
secondary
#A6C894
accent
#D65280
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82