#9B4FF5#9B4FF5
#9B4FF5 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.4% C 0.235 H 300.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4FF5 |
|---|---|
| RGB | rgb(155, 79, 245) |
| HSL | hsl(267, 89%, 64%) |
| HSV | hsv(267, 68%, 96%) |
| CMYK | cmyk(36.7%, 67.8%, 0%, 3.9%) |
| CIE-LAB | lab(50.87, 62.46, -71.25) |
| CIE-LCH | lch(50.87, 94.75, 311.24°) |
| OKLab | oklab(60.4% 0.1191 -0.203) |
| OKLCH | oklch(60.4% 0.235 300.4) |
| XYZ | xyz(32.7909, 19.1528, 88.3378) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.00
Lighter Purple
#A55AF4
ΔE00 3.26
Purpley
#8756E4
ΔE00 3.93
Electric Purple
#AA23FF
ΔE00 5.41
Neon Purple
#BC13FE
ΔE00 6.54
Bright Violet
#AD0AFD
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4FF5 #A9F54F
analogous
#4F56F5 #9B4FF5 #EE4FF5
triadic
#9B4FF5 #F59B4F #4FF59B
tetradic
#9B4FF5 #F54F56 #A9F54F #4FF5EE
square
#9B4FF5 #F54F56 #A9F54F #4FF5EE
split-complementary
#9B4FF5 #F5EE4F #56F54F
monochromatic
#5D0BBF #7A15F2 #9B4FF5 #BC89F8 #DDC3FC
Accessibility & contrast
On white
4.35
#9B4FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#9B4FF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B4FF5
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B4FF5 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#87769C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9b4ff5; /* rgb */ color: rgb(155, 79, 245); /* oklch */ color: oklch(60.4% 0.235 300.4);
Tailwind
colors: {
custom: {
50: '#bf85f9',
500: '#9b4ff5',
950: '#000000',
},
}SCSS
$custom: #9b4ff5; $custom-light: #bf85f9; $custom-dark: #000000;
JSON
{
"hex": "#9b4ff5",
"rgb": {
"r": 155,
"g": 79,
"b": 245
},
"hsl": {
"h": 267.47,
"s": 89.247,
"l": 63.529
},
"oklch": {
"l": 0.60397,
"c": 0.23538,
"h": 300.4
},
"luminance": 0.19153
}Semantic roles & 50–950 ramp
primary
#9B4FF5
secondary
#D2EDB2
accent
#E6007C
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B17
muted
#827C85