#9B3CD7#9B3CD7
#9B3CD7 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.1% C 0.227 H 308.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9B3CD7 |
|---|---|
| RGB | rgb(155, 60, 215) |
| HSL | hsl(277, 66%, 54%) |
| HSV | hsv(277, 72%, 84%) |
| CMYK | cmyk(27.9%, 72.1%, 0%, 15.7%) |
| CIE-LAB | lab(45.78, 63.99, -62.53) |
| CIE-LCH | lch(45.78, 89.47, 315.66°) |
| OKLab | oklab(56.11% 0.1422 -0.1773) |
| OKLCH | oklch(56.11% 0.227 308.7) |
| XYZ | xyz(27.3967, 15.1071, 65.7495) |
| Luminance | 0.1511 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.55
Vibrant Purple
#AD03DE
ΔE00 4.35
Blueviolet
#8A2BE2
ΔE00 4.68
Violet (survey)
#9A0EEA
ΔE00 4.81
Electric Purple
#AA23FF
ΔE00 5.23
Bright Violet
#AD0AFD
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B3CD7 #78D73C
analogous
#4E3CD7 #9B3CD7 #D73CC6
triadic
#9B3CD7 #D79B3C #3CD79B
tetradic
#9B3CD7 #D74E3C #78D73C #3CC6D7
square
#9B3CD7 #D74E3C #78D73C #3CC6D7
split-complementary
#9B3CD7 #C6D73C #3CD74E
monochromatic
#581A7F #7B24B1 #9B3CD7 #B56FE1 #CFA2EC
Accessibility & contrast
On white
5.22
#9B3CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#9B3CD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B3CD7
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B3CD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B3CD7 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0E6DD4
Tritanopia (blue-blind)
#926086
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9b3cd7; /* rgb */ color: rgb(155, 60, 215); /* oklch */ color: oklch(56.1% 0.227 308.7);
Tailwind
colors: {
custom: {
50: '#bd7ae4',
500: '#9b3cd7',
950: '#000000',
},
}SCSS
$custom: #9b3cd7; $custom-light: #bd7ae4; $custom-dark: #000000;
JSON
{
"hex": "#9b3cd7",
"rgb": {
"r": 155,
"g": 60,
"b": 215
},
"hsl": {
"h": 276.774,
"s": 65.957,
"l": 53.922
},
"oklch": {
"l": 0.56111,
"c": 0.22729,
"h": 308.7
},
"luminance": 0.15107
}Semantic roles & 50–950 ramp
primary
#9B3CD7
secondary
#B0D896
accent
#E93F81
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84