#9D45CD#9D45CD
#9D45CD is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.207 H 311.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9D45CD |
|---|---|
| RGB | rgb(157, 69, 205) |
| HSL | hsl(279, 58%, 54%) |
| HSV | hsv(279, 66%, 80%) |
| CMYK | cmyk(23.4%, 66.3%, 0%, 19.6%) |
| CIE-LAB | lab(46.75, 58.39, -55.20) |
| CIE-LCH | lch(46.75, 80.36, 316.61°) |
| OKLab | oklab(56.65% 0.1367 -0.1558) |
| OKLCH | oklch(56.65% 0.207 311.3) |
| XYZ | xyz(27.0501, 15.8328, 59.3768) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.65
Purply
#983FB2
ΔE00 4.64
Lightish Purple
#A552E6
ΔE00 5.27
Vibrant Purple
#AD03DE
ΔE00 5.74
Amethyst
#9B5FC0
ΔE00 6.45
Barney
#AC1DB8
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D45CD #75CD45
analogous
#5945CD #9D45CD #CD45B9
triadic
#9D45CD #CD9D45 #45CD9D
tetradic
#9D45CD #CD5945 #75CD45 #45B9CD
square
#9D45CD #CD5945 #75CD45 #45B9CD
split-complementary
#9D45CD #B9CD45 #45CD59
monochromatic
#592077 #7C2DA8 #9D45CD #B675DA #D0A5E7
Accessibility & contrast
On white
5.04
#9D45CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#9D45CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D45CD
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D45CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D45CD | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#3570CA
Tritanopia (blue-blind)
#976183
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9d45cd; /* rgb */ color: rgb(157, 69, 205); /* oklch */ color: oklch(56.6% 0.207 311.3);
Tailwind
colors: {
custom: {
50: '#be7fdd',
500: '#9d45cd',
950: '#000000',
},
}SCSS
$custom: #9d45cd; $custom-light: #be7fdd; $custom-dark: #000000;
JSON
{
"hex": "#9d45cd",
"rgb": {
"r": 157,
"g": 69,
"b": 205
},
"hsl": {
"h": 278.824,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.5665,
"c": 0.20723,
"h": 311.3
},
"luminance": 0.15832
}Semantic roles & 50–950 ramp
primary
#9D45CD
secondary
#AED49A
accent
#E1477D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83