#9B45CD#9B45CD
#9B45CD is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.207 H 310.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9B45CD |
|---|---|
| RGB | rgb(155, 69, 205) |
| HSL | hsl(278, 58%, 54%) |
| HSV | hsv(278, 66%, 80%) |
| CMYK | cmyk(24.4%, 66.3%, 0%, 19.6%) |
| CIE-LAB | lab(46.49, 57.96, -55.64) |
| CIE-LCH | lch(46.49, 80.34, 316.17°) |
| OKLab | oklab(56.4% 0.1341 -0.1571) |
| OKLCH | oklch(56.4% 0.207 310.5) |
| XYZ | xyz(26.6630, 15.6332, 59.3587) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.48
Purply
#983FB2
ΔE00 4.64
Lightish Purple
#A552E6
ΔE00 5.41
Vibrant Purple
#AD03DE
ΔE00 5.77
Blueviolet
#8A2BE2
ΔE00 6.46
Purpley
#8756E4
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B45CD #77CD45
analogous
#5745CD #9B45CD #CD45BB
triadic
#9B45CD #CD9B45 #45CD9B
tetradic
#9B45CD #CD5745 #77CD45 #45BBCD
square
#9B45CD #CD5745 #77CD45 #45BBCD
split-complementary
#9B45CD #BBCD45 #45CD57
monochromatic
#572077 #7B2DA8 #9B45CD #B575DA #CFA5E7
Accessibility & contrast
On white
5.09
#9B45CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#9B45CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B45CD
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B45CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B45CD | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#3270CA
Tritanopia (blue-blind)
#946183
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9b45cd; /* rgb */ color: rgb(155, 69, 205); /* oklch */ color: oklch(56.4% 0.207 310.5);
Tailwind
colors: {
custom: {
50: '#bc7fdd',
500: '#9b45cd',
950: '#000000',
},
}SCSS
$custom: #9b45cd; $custom-light: #bc7fdd; $custom-dark: #000000;
JSON
{
"hex": "#9b45cd",
"rgb": {
"r": 155,
"g": 69,
"b": 205
},
"hsl": {
"h": 277.941,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.56403,
"c": 0.20659,
"h": 310.5
},
"luminance": 0.15633
}Semantic roles & 50–950 ramp
primary
#9B45CD
secondary
#AFD49A
accent
#E14780
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83