#9D45D2#9D45D2
#9D45D2 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.212 H 309.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9D45D2 |
|---|---|
| RGB | rgb(157, 69, 210) |
| HSL | hsl(277, 61%, 55%) |
| HSV | hsv(277, 67%, 82%) |
| CMYK | cmyk(25.2%, 67.1%, 0%, 17.6%) |
| CIE-LAB | lab(47.08, 59.47, -57.56) |
| CIE-LCH | lch(47.08, 82.76, 315.94°) |
| OKLab | oklab(56.98% 0.1363 -0.1627) |
| OKLCH | oklch(56.98% 0.212 309.9) |
| XYZ | xyz(27.6633, 16.0780, 62.6064) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.82
Lightish Purple
#A552E6
ΔE00 4.73
Purply
#983FB2
ΔE00 5.38
Vibrant Purple
#AD03DE
ΔE00 5.65
Electric Purple
#AA23FF
ΔE00 6.14
Purpley
#8756E4
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D45D2 #7AD245
analogous
#5745D2 #9D45D2 #D245C0
triadic
#9D45D2 #D29D45 #45D29D
tetradic
#9D45D2 #D25745 #7AD245 #45C0D2
square
#9D45D2 #D25745 #7AD245 #45C0D2
split-complementary
#9D45D2 #C0D245 #45D257
monochromatic
#5A1F7E #7D2AAF #9D45D2 #B776DE #D1A8EA
Accessibility & contrast
On white
4.98
#9D45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#9D45D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D45D2
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D45D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D45D2 | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#2F71CF
Tritanopia (blue-blind)
#966386
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9d45d2; /* rgb */ color: rgb(157, 69, 210); /* oklch */ color: oklch(57.0% 0.212 309.9);
Tailwind
colors: {
custom: {
50: '#be7fe1',
500: '#9d45d2',
950: '#000000',
},
}SCSS
$custom: #9d45d2; $custom-light: #be7fe1; $custom-dark: #000000;
JSON
{
"hex": "#9d45d2",
"rgb": {
"r": 157,
"g": 69,
"b": 210
},
"hsl": {
"h": 277.447,
"s": 61.039,
"l": 54.706
},
"oklch": {
"l": 0.56984,
"c": 0.21221,
"h": 309.9
},
"luminance": 0.16077
}Semantic roles & 50–950 ramp
primary
#9D45D2
secondary
#B2D79C
accent
#E44480
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83