#9945D8#9945D8
#9945D8 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.9% C 0.217 H 306.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9945D8 |
|---|---|
| RGB | rgb(153, 69, 216) |
| HSL | hsl(274, 65%, 56%) |
| HSV | hsv(274, 68%, 85%) |
| CMYK | cmyk(29.2%, 68.1%, 0%, 15.3%) |
| CIE-LAB | lab(46.96, 59.96, -61.21) |
| CIE-LCH | lch(46.96, 85.69, 314.41°) |
| OKLab | oklab(56.91% 0.1305 -0.1735) |
| OKLCH | oklch(56.91% 0.217 306.9) |
| XYZ | xyz(27.6570, 15.9867, 66.5812) |
| Luminance | 0.1599 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.00
Lightish Purple
#A552E6
ΔE00 4.59
Purpley
#8756E4
ΔE00 5.23
Electric Purple
#AA23FF
ΔE00 5.54
Blueviolet
#8A2BE2
ΔE00 5.65
Vibrant Purple
#AD03DE
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9945D8 #84D845
analogous
#4F45D8 #9945D8 #D845CD
triadic
#9945D8 #D89945 #45D899
tetradic
#9945D8 #D84F45 #84D845 #45CDD8
square
#9945D8 #D84F45 #84D845 #45CDD8
split-complementary
#9945D8 #CDD845 #45D84F
monochromatic
#591C86 #7A27B9 #9945D8 #B578E3 #D0AAED
Accessibility & contrast
On white
5.00
#9945D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#9945D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9945D8
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9945D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9945D8 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#1C70D5
Tritanopia (blue-blind)
#8F6689
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9945d8; /* rgb */ color: rgb(153, 69, 216); /* oklch */ color: oklch(56.9% 0.217 306.9);
Tailwind
colors: {
custom: {
50: '#bc7fe5',
500: '#9945d8',
950: '#000000',
},
}SCSS
$custom: #9945d8; $custom-light: #bc7fe5; $custom-dark: #000000;
JSON
{
"hex": "#9945d8",
"rgb": {
"r": 153,
"g": 69,
"b": 216
},
"hsl": {
"h": 274.286,
"s": 65.333,
"l": 55.882
},
"oklch": {
"l": 0.56914,
"c": 0.21711,
"h": 306.9
},
"luminance": 0.15986
}Semantic roles & 50–950 ramp
primary
#9945D8
secondary
#B8DB9E
accent
#E84088
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120A16
muted
#817C84