#9B45CE#9B45CE
#9B45CE is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.208 H 310.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9B45CE |
|---|---|
| RGB | rgb(155, 69, 206) |
| HSL | hsl(278, 58%, 54%) |
| HSV | hsv(278, 67%, 81%) |
| CMYK | cmyk(24.8%, 66.5%, 0%, 19.2%) |
| CIE-LAB | lab(46.55, 58.18, -56.11) |
| CIE-LCH | lch(46.55, 80.83, 316.03°) |
| OKLab | oklab(56.47% 0.134 -0.1585) |
| OKLCH | oklch(56.47% 0.208 310.2) |
| XYZ | xyz(26.7841, 15.6816, 59.9964) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.50
Purply
#983FB2
ΔE00 4.79
Lightish Purple
#A552E6
ΔE00 5.31
Vibrant Purple
#AD03DE
ΔE00 5.74
Blueviolet
#8A2BE2
ΔE00 6.39
Purpley
#8756E4
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B45CE #78CE45
analogous
#5745CE #9B45CE #CE45BD
triadic
#9B45CE #CE9B45 #45CE9B
tetradic
#9B45CE #CE5745 #78CE45 #45BDCE
square
#9B45CE #CE5745 #78CE45 #45BDCE
split-complementary
#9B45CE #BDCE45 #45CE57
monochromatic
#582079 #7B2DA9 #9B45CE #B575DB #CFA6E8
Accessibility & contrast
On white
5.08
#9B45CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#9B45CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B45CE
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B45CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B45CE | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#3170CB
Tritanopia (blue-blind)
#946184
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9b45ce; /* rgb */ color: rgb(155, 69, 206); /* oklch */ color: oklch(56.5% 0.208 310.2);
Tailwind
colors: {
custom: {
50: '#bd7fde',
500: '#9b45ce',
950: '#000000',
},
}SCSS
$custom: #9b45ce; $custom-light: #bd7fde; $custom-dark: #000000;
JSON
{
"hex": "#9b45ce",
"rgb": {
"r": 155,
"g": 69,
"b": 206
},
"hsl": {
"h": 277.664,
"s": 58.298,
"l": 53.922
},
"oklch": {
"l": 0.5647,
"c": 0.20759,
"h": 310.2
},
"luminance": 0.15681
}Semantic roles & 50–950 ramp
primary
#9B45CE
secondary
#B0D59A
accent
#E24680
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83