#9727BC#9727BC

#9727BC is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.223 H 315.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9727BC
RGBrgb(151, 39, 188)
HSLhsl(285, 66%, 45%)
HSVhsv(285, 79%, 74%)
CMYKcmyk(19.7%, 79.3%, 0%, 26.3%)
CIE-LABlab(40.67, 65.31, -55.16)
CIE-LCHlch(40.67, 85.49, 319.81°)
OKLaboklab(51.79% 0.16 -0.1557)
OKLCHoklch(51.79% 0.223 315.8)
XYZxyz(22.5637, 11.6621, 48.6297)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9727BC #4CBC27
analogous
#4D27BC #9727BC #BC2796
triadic
#9727BC #BC9727 #27BC97
tetradic
#9727BC #BC4D27 #4CBC27 #2796BC
square
#9727BC #BC4D27 #4CBC27 #2796BC
split-complementary
#9727BC #96BC27 #27BC4D
monochromatic
#461257 #6E1C89 #9727BC #B547D9 #C97AE3

Accessibility & contrast

On white

6.30
#9727BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9727BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9727BC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9727BC#FFFFFF#000000##FFFFFF
##9727BC1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#2363B9
Tritanopia (blue-blind)
#944A72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9727bc;
/* rgb */ color: rgb(151, 39, 188);
/* oklch */ color: oklch(51.8% 0.223 315.8);
Tailwind
colors: {
  custom: {
    50: '#ba6fd1',
    500: '#9727bc',
    950: '#000000',
  },
}
SCSS
$custom: #9727bc;
$custom-light: #ba6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9727bc",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 285.101,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.22324,
    "h": 315.8
  },
  "luminance": 0.11661
}

Semantic roles & 50–950 ramp

primary
#9727BC
secondary
#89CB73
accent
#E93F69
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9727BC

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

Preview Lab → · Contrast checker → · Palette generator →

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