#9A45CD#9A45CD
#9A45CD is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.206 H 310.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9A45CD |
|---|---|
| RGB | rgb(154, 69, 205) |
| HSL | hsl(278, 58%, 54%) |
| HSV | hsv(278, 66%, 80%) |
| CMYK | cmyk(24.9%, 66.3%, 0%, 19.6%) |
| CIE-LAB | lab(46.36, 57.74, -55.86) |
| CIE-LCH | lch(46.36, 80.34, 315.95°) |
| OKLab | oklab(56.28% 0.1328 -0.1578) |
| OKLCH | oklch(56.28% 0.206 310.1) |
| XYZ | xyz(26.4719, 15.5346, 59.3497) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.40
Purply
#983FB2
ΔE00 4.65
Lightish Purple
#A552E6
ΔE00 5.49
Vibrant Purple
#AD03DE
ΔE00 5.79
Blueviolet
#8A2BE2
ΔE00 6.32
Purpley
#8756E4
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A45CD #78CD45
analogous
#5645CD #9A45CD #CD45BC
triadic
#9A45CD #CD9A45 #45CD9A
tetradic
#9A45CD #CD5645 #78CD45 #45BCCD
square
#9A45CD #CD5645 #78CD45 #45BCCD
split-complementary
#9A45CD #BCCD45 #45CD56
monochromatic
#572077 #7A2DA8 #9A45CD #B475DA #CEA5E7
Accessibility & contrast
On white
5.11
#9A45CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#9A45CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A45CD
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A45CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A45CD | 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)
#006AD1
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#936183
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9a45cd; /* rgb */ color: rgb(154, 69, 205); /* oklch */ color: oklch(56.3% 0.206 310.1);
Tailwind
colors: {
custom: {
50: '#bc7edd',
500: '#9a45cd',
950: '#000000',
},
}SCSS
$custom: #9a45cd; $custom-light: #bc7edd; $custom-dark: #000000;
JSON
{
"hex": "#9a45cd",
"rgb": {
"r": 154,
"g": 69,
"b": 205
},
"hsl": {
"h": 277.5,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.56281,
"c": 0.20627,
"h": 310.1
},
"luminance": 0.15534
}Semantic roles & 50–950 ramp
primary
#9A45CD
secondary
#B0D49A
accent
#E14781
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83