#9727A0#9727A0

#9727A0 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 49.9% C 0.200 H 324.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9727A0
RGBrgb(151, 39, 160)
HSLhsl(296, 61%, 39%)
HSVhsv(296, 76%, 63%)
CMYKcmyk(5.6%, 75.6%, 0%, 37.3%)
CIE-LABlab(38.85, 60.16, -41.45)
CIE-LCHlch(38.85, 73.06, 325.43°)
OKLaboklab(49.92% 0.1633 -0.1155)
OKLCHoklch(49.92% 0.2 324.7)
XYZxyz(19.8327, 10.5697, 34.2464)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9727A0 #30A027
analogous
#5B27A0 #9727A0 #A0276D
triadic
#9727A0 #A09727 #27A097
tetradic
#9727A0 #A05B27 #30A027 #276DA0
square
#9727A0 #A05B27 #30A027 #276DA0
split-complementary
#9727A0 #6DA027 #27A05B
monochromatic
#3A0F3E #691B6F #9727A0 #C336CE #D267DA

Accessibility & contrast

On white

6.74
#9727A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9727A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9727A0
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9727A0#FFFFFF#000000##FFFFFF
##9727A01.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#40609D
Tritanopia (blue-blind)
#9A3D62
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9727a0;
/* rgb */ color: rgb(151, 39, 160);
/* oklch */ color: oklch(49.9% 0.200 324.7);
Tailwind
colors: {
  custom: {
    50: '#b96ebd',
    500: '#9727a0',
    950: '#000000',
  },
}
SCSS
$custom: #9727a0;
$custom-light: #b96ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#9727a0",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 295.537,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49915,
    "c": 0.2,
    "h": 324.7
  },
  "luminance": 0.10568
}

Semantic roles & 50–950 ramp

primary
#9727A0
secondary
#6AC063
accent
#E44450
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9727A0

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

Preview Lab → · Contrast checker → · Palette generator →

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