#9F45DE#9F45DE
#9F45DE is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.1% C 0.225 H 307.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9F45DE |
|---|---|
| RGB | rgb(159, 69, 222) |
| HSL | hsl(275, 70%, 57%) |
| HSV | hsv(275, 69%, 87%) |
| CMYK | cmyk(28.4%, 68.9%, 0%, 12.9%) |
| CIE-LAB | lab(48.14, 62.50, -62.69) |
| CIE-LCH | lch(48.14, 88.52, 314.91°) |
| OKLab | oklab(58.05% 0.1375 -0.1777) |
| OKLCH | oklch(58.05% 0.225 307.7) |
| XYZ | xyz(29.6083, 16.9015, 70.7956) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.51
Electric Purple
#AA23FF
ΔE00 4.82
Darkorchid
#9932CC
ΔE00 4.87
Purpley
#8756E4
ΔE00 5.38
Bright Violet
#AD0AFD
ΔE00 5.44
Neon Purple
#BC13FE
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F45DE #84DE45
analogous
#5345DE #9F45DE #DE45D1
triadic
#9F45DE #DE9F45 #45DE9F
tetradic
#9F45DE #DE5345 #84DE45 #45D1DE
square
#9F45DE #DE5345 #84DE45 #45D1DE
split-complementary
#9F45DE #D1DE45 #45DE53
monochromatic
#5F198F #8123C3 #9F45DE #BA79E7 #D5ADF0
Accessibility & contrast
On white
4.79
#9F45DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#9F45DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F45DE
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F45DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F45DE | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#1D73DB
Tritanopia (blue-blind)
#95678D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9f45de; /* rgb */ color: rgb(159, 69, 222); /* oklch */ color: oklch(58.1% 0.225 307.7);
Tailwind
colors: {
custom: {
50: '#c07fe9',
500: '#9f45de',
950: '#000000',
},
}SCSS
$custom: #9f45de; $custom-light: #c07fe9; $custom-dark: #000000;
JSON
{
"hex": "#9f45de",
"rgb": {
"r": 159,
"g": 69,
"b": 222
},
"hsl": {
"h": 275.294,
"s": 69.863,
"l": 57.059
},
"oklch": {
"l": 0.5805,
"c": 0.2247,
"h": 307.7
},
"luminance": 0.16901
}Semantic roles & 50–950 ramp
primary
#9F45DE
secondary
#BADFA0
accent
#ED3B84
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84