#9A45F0#9A45F0
#9A45F0 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.8% C 0.242 H 302.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9A45F0 |
|---|---|
| RGB | rgb(154, 69, 240) |
| HSL | hsl(270, 85%, 61%) |
| HSV | hsv(270, 71%, 94%) |
| CMYK | cmyk(35.8%, 71.3%, 0%, 5.9%) |
| CIE-LAB | lab(48.78, 65.60, -71.84) |
| CIE-LCH | lch(48.78, 97.29, 312.40°) |
| OKLab | oklab(58.78% 0.1281 -0.2048) |
| OKLCH | oklch(58.78% 0.242 302) |
| XYZ | xyz(31.1790, 17.4174, 84.1405) |
| Luminance | 0.1742 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.85
Electric Purple
#AA23FF
ΔE00 3.85
Purpley
#8756E4
ΔE00 4.29
Bright Violet
#AD0AFD
ΔE00 4.95
Lighter Purple
#A55AF4
ΔE00 5.34
Neon Purple
#BC13FE
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A45F0 #9BF045
analogous
#4545F0 #9A45F0 #F045F0
triadic
#9A45F0 #F09A45 #45F09A
tetradic
#9A45F0 #F04545 #9BF045 #45F0F0
square
#9A45F0 #F04545 #9BF045 #45F0F0
split-complementary
#9A45F0 #F0F045 #45F045
monochromatic
#5D0EAD #7B12E5 #9A45F0 #B97EF5 #D8B6F9
Accessibility & contrast
On white
4.68
#9A45F0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#9A45F0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A45F0
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A45F0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A45F0 | 1.00 | 4.68 | 4.48 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#886F97
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9a45f0; /* rgb */ color: rgb(154, 69, 240); /* oklch */ color: oklch(58.8% 0.242 302.0);
Tailwind
colors: {
custom: {
50: '#be80f6',
500: '#9a45f0',
950: '#000000',
},
}SCSS
$custom: #9a45f0; $custom-light: #be80f6; $custom-dark: #000000;
JSON
{
"hex": "#9a45f0",
"rgb": {
"r": 154,
"g": 69,
"b": 240
},
"hsl": {
"h": 269.825,
"s": 85.075,
"l": 60.588
},
"oklch": {
"l": 0.58775,
"c": 0.24156,
"h": 302
},
"luminance": 0.17418
}Semantic roles & 50–950 ramp
primary
#9A45F0
secondary
#C9E9A8
accent
#E20473
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85