#9727B1#9727B1
#9727B1 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.214 H 319.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9727B1 |
|---|---|
| RGB | rgb(151, 39, 177) |
| HSL | hsl(289, 64%, 42%) |
| HSV | hsv(289, 78%, 69%) |
| CMYK | cmyk(14.7%, 78%, 0%, 30.6%) |
| CIE-LAB | lab(39.92, 63.23, -49.88) |
| CIE-LCH | lch(39.92, 80.54, 321.73°) |
| OKLab | oklab(51.03% 0.1617 -0.1402) |
| OKLCH | oklch(51.03% 0.214 319.1) |
| XYZ | xyz(21.4228, 11.2057, 42.6209) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.69
Purply
#983FB2
ΔE00 3.96
Darkorchid
#9932CC
ΔE00 4.62
Barney Purple
#A00498
ΔE00 5.40
Darkviolet
#9400D3
ΔE00 5.53
Purple (survey)
#7E1E9C
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9727B1 #41B127
analogous
#5227B1 #9727B1 #B12786
triadic
#9727B1 #B19727 #27B197
tetradic
#9727B1 #B15227 #41B127 #2786B1
square
#9727B1 #B15227 #41B127 #2786B1
split-complementary
#9727B1 #86B127 #27B152
monochromatic
#41114D #6C1C7F #9727B1 #B940D5 #CB72E0
Accessibility & contrast
On white
6.48
#9727B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#9727B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9727B1
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9727B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9727B1 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#3162AE
Tritanopia (blue-blind)
#97456C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9727b1; /* rgb */ color: rgb(151, 39, 177); /* oklch */ color: oklch(51.0% 0.214 319.1);
Tailwind
colors: {
custom: {
50: '#ba6fc9',
500: '#9727b1',
950: '#000000',
},
}SCSS
$custom: #9727b1; $custom-light: #ba6fc9; $custom-dark: #000000;
JSON
{
"hex": "#9727b1",
"rgb": {
"r": 151,
"g": 39,
"b": 177
},
"hsl": {
"h": 288.696,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.51025,
"c": 0.21399,
"h": 319.1
},
"luminance": 0.11205
}Semantic roles & 50–950 ramp
primary
#9727B1
secondary
#7EC76D
accent
#E74160
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82