#9248CB#9248CB
#9248CB is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.6% C 0.198 H 307.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9248CB |
|---|---|
| RGB | rgb(146, 72, 203) |
| HSL | hsl(274, 56%, 54%) |
| HSV | hsv(274, 65%, 80%) |
| CMYK | cmyk(28.1%, 64.5%, 0%, 20.4%) |
| CIE-LAB | lab(45.71, 54.13, -55.80) |
| CIE-LCH | lch(45.71, 77.74, 314.13°) |
| OKLab | oklab(55.56% 0.1192 -0.1579) |
| OKLCH | oklch(55.56% 0.198 307.1) |
| XYZ | xyz(24.9487, 15.0578, 58.0805) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.77
Purply
#983FB2
ΔE00 4.97
Purpley
#8756E4
ΔE00 5.74
Blueviolet
#8A2BE2
ΔE00 5.99
Lightish Purple
#A552E6
ΔE00 6.05
Deep Lavender
#8D5EB7
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9248CB #81CB48
analogous
#5148CB #9248CB #CB48C3
triadic
#9248CB #CB9248 #48CB92
tetradic
#9248CB #CB5148 #81CB48 #48C3CB
square
#9248CB #CB5148 #81CB48 #48C3CB
split-complementary
#9248CB #C3CB48 #48CB51
monochromatic
#522277 #732FA6 #9248CB #AE78D9 #CBA7E6
Accessibility & contrast
On white
5.23
#9248CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#9248CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9248CB
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9248CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9248CB | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#2C6DC8
Tritanopia (blue-blind)
#896383
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9248cb; /* rgb */ color: rgb(146, 72, 203); /* oklch */ color: oklch(55.6% 0.198 307.1);
Tailwind
colors: {
custom: {
50: '#b680dc',
500: '#9248cb',
950: '#000000',
},
}SCSS
$custom: #9248cb; $custom-light: #b680dc; $custom-dark: #000000;
JSON
{
"hex": "#9248cb",
"rgb": {
"r": 146,
"g": 72,
"b": 203
},
"hsl": {
"h": 273.893,
"s": 55.745,
"l": 53.922
},
"oklch": {
"l": 0.55556,
"c": 0.19787,
"h": 307.1
},
"luminance": 0.15058
}Semantic roles & 50–950 ramp
primary
#9248CB
secondary
#B4D39B
accent
#DF498A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83