#9945CF#9945CF
#9945CF is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.208 H 309.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9945CF |
|---|---|
| RGB | rgb(153, 69, 207) |
| HSL | hsl(277, 59%, 54%) |
| HSV | hsv(277, 67%, 81%) |
| CMYK | cmyk(26.1%, 66.7%, 0%, 18.8%) |
| CIE-LAB | lab(46.36, 57.97, -57.02) |
| CIE-LCH | lch(46.36, 81.31, 315.47°) |
| OKLab | oklab(56.29% 0.1314 -0.1612) |
| OKLCH | oklch(56.29% 0.208 309.2) |
| XYZ | xyz(26.5252, 15.5340, 60.6204) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.41
Purply
#983FB2
ΔE00 4.98
Lightish Purple
#A552E6
ΔE00 5.37
Vibrant Purple
#AD03DE
ΔE00 5.78
Blueviolet
#8A2BE2
ΔE00 6.05
Purpley
#8756E4
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9945CF #7BCF45
analogous
#5445CF #9945CF #CF45C0
triadic
#9945CF #CF9945 #45CF99
tetradic
#9945CF #CF5445 #7BCF45 #45C0CF
square
#9945CF #CF5445 #7BCF45 #45C0CF
split-complementary
#9945CF #C0CF45 #45CF54
monochromatic
#57207A #792CAB #9945CF #B476DC #CEA6E8
Accessibility & contrast
On white
5.11
#9945CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#9945CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9945CF
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9945CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9945CF | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#2D6FCC
Tritanopia (blue-blind)
#916284
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9945cf; /* rgb */ color: rgb(153, 69, 207); /* oklch */ color: oklch(56.3% 0.208 309.2);
Tailwind
colors: {
custom: {
50: '#bb7ede',
500: '#9945cf',
950: '#000000',
},
}SCSS
$custom: #9945cf; $custom-light: #bb7ede; $custom-dark: #000000;
JSON
{
"hex": "#9945cf",
"rgb": {
"r": 153,
"g": 69,
"b": 207
},
"hsl": {
"h": 276.522,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.56294,
"c": 0.20799,
"h": 309.2
},
"luminance": 0.15534
}Semantic roles & 50–950 ramp
primary
#9945CF
secondary
#B2D59B
accent
#E24683
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83