#9727B2#9727B2

#9727B2 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.215 H 318.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9727B2
RGBrgb(151, 39, 178)
HSLhsl(288, 64%, 43%)
HSVhsv(288, 78%, 70%)
CMYKcmyk(15.2%, 78.1%, 0%, 30.2%)
CIE-LABlab(39.99, 63.42, -50.37)
CIE-LCHlch(39.99, 80.98, 321.54°)
OKLaboklab(51.09% 0.1616 -0.1416)
OKLCHoklch(51.09% 0.215 318.8)
XYZxyz(21.5228, 11.2457, 43.1478)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9727B2 #42B227
analogous
#5127B2 #9727B2 #B22788
triadic
#9727B2 #B29727 #27B297
tetradic
#9727B2 #B25127 #42B227 #2788B2
square
#9727B2 #B25127 #42B227 #2788B2
split-complementary
#9727B2 #88B227 #27B251
monochromatic
#42114E #6C1C80 #9727B2 #B841D5 #CB73E0

Accessibility & contrast

On white

6.46
#9727B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9727B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9727B2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9727B2#FFFFFF#000000##FFFFFF
##9727B21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#3062AF
Tritanopia (blue-blind)
#97456C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9727b2;
/* rgb */ color: rgb(151, 39, 178);
/* oklch */ color: oklch(51.1% 0.215 318.8);
Tailwind
colors: {
  custom: {
    50: '#ba6fca',
    500: '#9727b2',
    950: '#000000',
  },
}
SCSS
$custom: #9727b2;
$custom-light: #ba6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#9727b2",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 288.345,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51093,
    "c": 0.21483,
    "h": 318.8
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#9727B2
secondary
#7FC86D
accent
#E74161
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9727B2

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

Preview Lab → · Contrast checker → · Palette generator →

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