#9A45F1#9A45F1
#9A45F1 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.9% C 0.243 H 301.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9A45F1 |
|---|---|
| RGB | rgb(154, 69, 241) |
| HSL | hsl(270, 86%, 61%) |
| HSV | hsv(270, 71%, 95%) |
| CMYK | cmyk(36.1%, 71.4%, 0%, 5.5%) |
| CIE-LAB | lab(48.86, 65.83, -72.28) |
| CIE-LCH | lch(48.86, 97.77, 312.33°) |
| OKLab | oklab(58.85% 0.128 -0.2061) |
| OKLCH | oklch(58.85% 0.243 301.8) |
| XYZ | xyz(31.3279, 17.4770, 84.9250) |
| Luminance | 0.1748 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Electric Purple
#AA23FF
ΔE00 3.83
Lightish Purple
#A552E6
ΔE00 3.88
Purpley
#8756E4
ΔE00 4.30
Bright Violet
#AD0AFD
ΔE00 4.95
Lighter Purple
#A55AF4
ΔE00 5.30
Neon Purple
#BC13FE
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A45F1 #9CF145
analogous
#4546F1 #9A45F1 #F045F1
triadic
#9A45F1 #F19A45 #45F19A
tetradic
#9A45F1 #F14546 #9CF145 #45F1F0
square
#9A45F1 #F14546 #9CF145 #45F1F0
split-complementary
#9A45F1 #F1F045 #46F145
monochromatic
#5D0DAE #7B11E7 #9A45F1 #B97EF5 #D8B7FA
Accessibility & contrast
On white
4.67
#9A45F1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#9A45F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9A45F1
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A45F1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A45F1 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F6
Deuteranopia (green-blind)
#0073EE
Tritanopia (blue-blind)
#876F97
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9a45f1; /* rgb */ color: rgb(154, 69, 241); /* oklch */ color: oklch(58.9% 0.243 301.8);
Tailwind
colors: {
custom: {
50: '#be80f7',
500: '#9a45f1',
950: '#000000',
},
}SCSS
$custom: #9a45f1; $custom-light: #be80f7; $custom-dark: #000000;
JSON
{
"hex": "#9a45f1",
"rgb": {
"r": 154,
"g": 69,
"b": 241
},
"hsl": {
"h": 269.651,
"s": 86,
"l": 60.784
},
"oklch": {
"l": 0.5885,
"c": 0.24256,
"h": 301.8
},
"luminance": 0.17477
}Semantic roles & 50–950 ramp
primary
#9A45F1
secondary
#C9E9A8
accent
#E30374
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85