#9727AF#9727AF

#9727AF is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.212 H 319.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9727AF
RGBrgb(151, 39, 175)
HSLhsl(289, 64%, 42%)
HSVhsv(289, 78%, 69%)
CMYKcmyk(13.7%, 77.7%, 0%, 31.4%)
CIE-LABlab(39.79, 62.86, -48.91)
CIE-LCHlch(39.79, 79.64, 322.12°)
OKLaboklab(50.89% 0.162 -0.1373)
OKLCHoklch(50.89% 0.212 319.7)
XYZxyz(21.2249, 11.1266, 41.5788)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9727AF #3FAF27
analogous
#5327AF #9727AF #AF2783
triadic
#9727AF #AF9727 #27AF97
tetradic
#9727AF #AF5327 #3FAF27 #2783AF
square
#9727AF #AF5327 #3FAF27 #2783AF
split-complementary
#9727AF #83AF27 #27AF53
monochromatic
#41114B #6C1C7D #9727AF #BA3FD4 #CC71DF

Accessibility & contrast

On white

6.51
#9727AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9727AF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9727AF#FFFFFF#000000##FFFFFF
##9727AF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#97446B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9727af;
/* rgb */ color: rgb(151, 39, 175);
/* oklch */ color: oklch(50.9% 0.212 319.7);
Tailwind
colors: {
  custom: {
    50: '#ba6ec8',
    500: '#9727af',
    950: '#000000',
  },
}
SCSS
$custom: #9727af;
$custom-light: #ba6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#9727af",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 289.412,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.21232,
    "h": 319.7
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#9727AF
secondary
#7CC66B
accent
#E7415E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9727AF

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

Preview Lab → · Contrast checker → · Palette generator →

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