#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
RGBrgb(151, 39, 177)
HSLhsl(289, 64%, 42%)
HSVhsv(289, 78%, 69%)
CMYKcmyk(14.7%, 78%, 0%, 30.6%)
CIE-LABlab(39.92, 63.23, -49.88)
CIE-LCHlch(39.92, 80.54, 321.73°)
OKLaboklab(51.03% 0.1617 -0.1402)
OKLCHoklch(51.03% 0.214 319.1)
XYZxyz(21.4228, 11.2057, 42.6209)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

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
##9727B11.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.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

Preview Lab

Preview with #9727B1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9727B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva