#9727CA#9727CA

#9727CA is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.8% C 0.235 H 312.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9727CA
RGBrgb(151, 39, 202)
HSLhsl(281, 68%, 47%)
HSVhsv(281, 81%, 79%)
CMYKcmyk(25.2%, 80.7%, 0%, 20.8%)
CIE-LABlab(41.68, 68.04, -61.71)
CIE-LCHlch(41.68, 91.86, 317.80°)
OKLaboklab(52.81% 0.1572 -0.1749)
OKLCHoklch(52.81% 0.235 312)
XYZxyz(24.1467, 12.2953, 56.9669)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9727CA #5ACA27
analogous
#4627CA #9727CA #CA27AC
triadic
#9727CA #CA9727 #27CA97
tetradic
#9727CA #CA4627 #5ACA27 #27ACCA
square
#9727CA #CA4627 #5ACA27 #27ACCA
split-complementary
#9727CA #ACCA27 #27CA46
monochromatic
#4A1363 #711D97 #9727CA #B151DD #C884E7

Accessibility & contrast

On white

6.07
#9727CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9727CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9727CA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9727CA#FFFFFF#000000##FFFFFF
##9727CA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#91517A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9727ca;
/* rgb */ color: rgb(151, 39, 202);
/* oklch */ color: oklch(52.8% 0.235 312.0);
Tailwind
colors: {
  custom: {
    50: '#bb70db',
    500: '#9727ca',
    950: '#000000',
  },
}
SCSS
$custom: #9727ca;
$custom-light: #bb70db;
$custom-dark: #000000;
JSON
{
  "hex": "#9727ca",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 202
  },
  "hsl": {
    "h": 281.227,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52814,
    "c": 0.23516,
    "h": 312
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

primary
#9727CA
secondary
#97D07C
accent
#EB3D73
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #9727CA

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

Preview Lab → · Contrast checker → · Palette generator →

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