#9B4FD2#9B4FD2
#9B4FD2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 58.0% C 0.198 H 308.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4FD2 |
|---|---|
| RGB | rgb(155, 79, 210) |
| HSL | hsl(275, 59%, 57%) |
| HSV | hsv(275, 62%, 82%) |
| CMYK | cmyk(26.2%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(48.53, 54.33, -55.23) |
| CIE-LCH | lch(48.53, 77.48, 314.53°) |
| OKLab | oklab(57.98% 0.1224 -0.156) |
| OKLCH | oklch(57.98% 0.198 308.1) |
| XYZ | xyz(27.9440, 17.2141, 62.8108) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.54
Amethyst
#9B5FC0
ΔE00 5.06
Purpley
#8756E4
ΔE00 5.18
Darkorchid
#9932CC
ΔE00 5.75
Deep Lavender
#8D5EB7
ΔE00 5.91
Lighter Purple
#A55AF4
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4FD2 #86D24F
analogous
#5A4FD2 #9B4FD2 #D24FC8
triadic
#9B4FD2 #D29B4F #4FD29B
tetradic
#9B4FD2 #D25A4F #86D24F #4FC8D2
square
#9B4FD2 #D25A4F #86D24F #4FC8D2
split-complementary
#9B4FD2 #C8D24F #4FD25A
monochromatic
#5B2285 #7D2EB5 #9B4FD2 #B780DE #D2B0EB
Accessibility & contrast
On white
4.73
#9B4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#9B4FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4FD2
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4FD2 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0170D6
Deuteranopia (green-blind)
#3974CF
Tritanopia (blue-blind)
#936989
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9b4fd2; /* rgb */ color: rgb(155, 79, 210); /* oklch */ color: oklch(58.0% 0.198 308.1);
Tailwind
colors: {
custom: {
50: '#bc84e0',
500: '#9b4fd2',
950: '#000000',
},
}SCSS
$custom: #9b4fd2; $custom-light: #bc84e0; $custom-dark: #000000;
JSON
{
"hex": "#9b4fd2",
"rgb": {
"r": 155,
"g": 79,
"b": 210
},
"hsl": {
"h": 274.809,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.57975,
"c": 0.19825,
"h": 308.1
},
"luminance": 0.17214
}Semantic roles & 50–950 ramp
primary
#9B4FD2
secondary
#BAD9A4
accent
#E24587
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83