#9948CB#9948CB
#9948CB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.4% C 0.200 H 309.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9948CB |
|---|---|
| RGB | rgb(153, 72, 203) |
| HSL | hsl(277, 56%, 54%) |
| HSV | hsv(277, 65%, 80%) |
| CMYK | cmyk(24.6%, 64.5%, 0%, 20.4%) |
| CIE-LAB | lab(46.60, 55.69, -54.32) |
| CIE-LCH | lch(46.60, 77.79, 315.71°) |
| OKLab | oklab(56.39% 0.1283 -0.1533) |
| OKLCH | oklch(56.39% 0.2 309.9) |
| XYZ | xyz(26.2316, 15.7194, 58.1406) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.93
Purply
#983FB2
ΔE00 4.63
Lightish Purple
#A552E6
ΔE00 5.38
Amethyst
#9B5FC0
ΔE00 6.10
Purpley
#8756E4
ΔE00 6.32
Deep Lavender
#8D5EB7
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9948CB #7ACB48
analogous
#5848CB #9948CB #CB48BC
triadic
#9948CB #CB9948 #48CB99
tetradic
#9948CB #CB5848 #7ACB48 #48BCCB
square
#9948CB #CB5848 #7ACB48 #48BCCB
split-complementary
#9948CB #BCCB48 #48CB58
monochromatic
#562277 #792FA6 #9948CB #B478D9 #CEA7E6
Accessibility & contrast
On white
5.07
#9948CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#9948CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9948CB
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9948CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9948CB | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#3670C8
Tritanopia (blue-blind)
#926383
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9948cb; /* rgb */ color: rgb(153, 72, 203); /* oklch */ color: oklch(56.4% 0.200 309.9);
Tailwind
colors: {
custom: {
50: '#bb80db',
500: '#9948cb',
950: '#000000',
},
}SCSS
$custom: #9948cb; $custom-light: #bb80db; $custom-dark: #000000;
JSON
{
"hex": "#9948cb",
"rgb": {
"r": 153,
"g": 72,
"b": 203
},
"hsl": {
"h": 277.099,
"s": 55.745,
"l": 53.922
},
"oklch": {
"l": 0.5639,
"c": 0.19993,
"h": 309.9
},
"luminance": 0.15719
}Semantic roles & 50–950 ramp
primary
#9948CB
secondary
#B1D39B
accent
#DF4982
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83