#9B37D7#9B37D7
#9B37D7 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.6% C 0.233 H 309.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9B37D7 |
|---|---|
| RGB | rgb(155, 55, 215) |
| HSL | hsl(278, 67%, 53%) |
| HSV | hsv(278, 74%, 84%) |
| CMYK | cmyk(27.9%, 74.4%, 0%, 15.7%) |
| CIE-LAB | lab(45.09, 65.95, -63.64) |
| CIE-LCH | lch(45.09, 91.65, 316.02°) |
| OKLab | oklab(55.62% 0.1468 -0.1805) |
| OKLCH | oklch(55.62% 0.233 309.1) |
| XYZ | xyz(27.1470, 14.6077, 65.6663) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.96
Vibrant Purple
#AD03DE
ΔE00 3.76
Violet (survey)
#9A0EEA
ΔE00 4.13
Blueviolet
#8A2BE2
ΔE00 4.14
Bright Violet
#AD0AFD
ΔE00 5.12
Electric Purple
#AA23FF
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B37D7 #73D737
analogous
#4B37D7 #9B37D7 #D737C3
triadic
#9B37D7 #D79B37 #37D79B
tetradic
#9B37D7 #D74B37 #73D737 #37C3D7
square
#9B37D7 #D74B37 #73D737 #37C3D7
split-complementary
#9B37D7 #C3D737 #37D74B
monochromatic
#56197B #7A23AE #9B37D7 #B46AE1 #CE9DEB
Accessibility & contrast
On white
5.36
#9B37D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#9B37D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B37D7
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B37D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B37D7 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#925D85
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9b37d7; /* rgb */ color: rgb(155, 55, 215); /* oklch */ color: oklch(55.6% 0.233 309.1);
Tailwind
colors: {
custom: {
50: '#be78e4',
500: '#9b37d7',
950: '#000000',
},
}SCSS
$custom: #9b37d7; $custom-light: #be78e4; $custom-dark: #000000;
JSON
{
"hex": "#9b37d7",
"rgb": {
"r": 155,
"g": 55,
"b": 215
},
"hsl": {
"h": 277.5,
"s": 66.667,
"l": 52.941
},
"oklch": {
"l": 0.55624,
"c": 0.2327,
"h": 309.1
},
"luminance": 0.14607
}Semantic roles & 50–950 ramp
primary
#9B37D7
secondary
#ACD792
accent
#EA3E7E
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84