#9D45DE#9D45DE
#9D45DE is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.8% C 0.224 H 307.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9D45DE |
|---|---|
| RGB | rgb(157, 69, 222) |
| HSL | hsl(275, 70%, 57%) |
| HSV | hsv(275, 69%, 87%) |
| CMYK | cmyk(29.3%, 68.9%, 0%, 12.9%) |
| CIE-LAB | lab(47.88, 62.10, -63.12) |
| CIE-LCH | lch(47.88, 88.54, 314.54°) |
| OKLab | oklab(57.81% 0.1349 -0.179) |
| OKLCH | oklch(57.81% 0.224 307) |
| XYZ | xyz(29.2148, 16.6986, 70.7772) |
| Luminance | 0.1670 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.73
Darkorchid
#9932CC
ΔE00 4.74
Electric Purple
#AA23FF
ΔE00 4.83
Purpley
#8756E4
ΔE00 5.16
Bright Violet
#AD0AFD
ΔE00 5.45
Vibrant Purple
#AD03DE
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D45DE #86DE45
analogous
#5145DE #9D45DE #DE45D2
triadic
#9D45DE #DE9D45 #45DE9D
tetradic
#9D45DE #DE5145 #86DE45 #45D2DE
square
#9D45DE #DE5145 #86DE45 #45D2DE
split-complementary
#9D45DE #D2DE45 #45DE51
monochromatic
#5D198F #7F23C3 #9D45DE #B879E7 #D4ADF0
Accessibility & contrast
On white
4.84
#9D45DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#9D45DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D45DE
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D45DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D45DE | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#1772DB
Tritanopia (blue-blind)
#92678D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9d45de; /* rgb */ color: rgb(157, 69, 222); /* oklch */ color: oklch(57.8% 0.224 307.0);
Tailwind
colors: {
custom: {
50: '#bf7fe9',
500: '#9d45de',
950: '#000000',
},
}SCSS
$custom: #9d45de; $custom-light: #bf7fe9; $custom-dark: #000000;
JSON
{
"hex": "#9d45de",
"rgb": {
"r": 157,
"g": 69,
"b": 222
},
"hsl": {
"h": 274.51,
"s": 69.863,
"l": 57.059
},
"oklch": {
"l": 0.57811,
"c": 0.22418,
"h": 307
},
"luminance": 0.16698
}Semantic roles & 50–950 ramp
primary
#9D45DE
secondary
#BBDFA0
accent
#ED3B87
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84