#9727B0#9727B0

#9727B0 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.213 H 319.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9727B0
RGBrgb(151, 39, 176)
HSLhsl(289, 64%, 42%)
HSVhsv(289, 78%, 69%)
CMYKcmyk(14.2%, 77.8%, 0%, 31%)
CIE-LABlab(39.86, 63.05, -49.39)
CIE-LCHlch(39.86, 80.09, 321.92°)
OKLaboklab(50.96% 0.1618 -0.1387)
OKLCHoklch(50.96% 0.213 319.4)
XYZxyz(21.3235, 11.1660, 42.0979)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9727B0 #40B027
analogous
#5327B0 #9727B0 #B02785
triadic
#9727B0 #B09727 #27B097
tetradic
#9727B0 #B05327 #40B027 #2785B0
square
#9727B0 #B05327 #40B027 #2785B0
split-complementary
#9727B0 #85B027 #27B053
monochromatic
#41114C #6C1C7E #9727B0 #B940D5 #CC72E0

Accessibility & contrast

On white

6.50
#9727B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9727B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9727B0
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9727B0#FFFFFF#000000##FFFFFF
##9727B01.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#3262AD
Tritanopia (blue-blind)
#97456B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9727b0;
/* rgb */ color: rgb(151, 39, 176);
/* oklch */ color: oklch(51.0% 0.213 319.4);
Tailwind
colors: {
  custom: {
    50: '#ba6fc8',
    500: '#9727b0',
    950: '#000000',
  },
}
SCSS
$custom: #9727b0;
$custom-light: #ba6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9727b0",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 289.051,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.21316,
    "h": 319.4
  },
  "luminance": 0.11165
}

Semantic roles & 50–950 ramp

primary
#9727B0
secondary
#7DC76C
accent
#E7415F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9727B0

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

Preview Lab → · Contrast checker → · Palette generator →

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