#9728B0#9728B0

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

Color values

HEX#9728B0
RGBrgb(151, 40, 176)
HSLhsl(289, 63%, 42%)
HSVhsv(289, 77%, 69%)
CMYKcmyk(14.2%, 77.3%, 0%, 31%)
CIE-LABlab(39.97, 62.73, -49.22)
CIE-LCHlch(39.97, 79.73, 321.88°)
OKLaboklab(51.04% 0.161 -0.1382)
OKLCHoklch(51.04% 0.212 319.4)
XYZxyz(21.3567, 11.2326, 42.1090)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9728B0 #41B028
analogous
#5328B0 #9728B0 #B02885
triadic
#9728B0 #B09728 #28B097
tetradic
#9728B0 #B05328 #41B028 #2885B0
square
#9728B0 #B05328 #41B028 #2885B0
split-complementary
#9728B0 #85B028 #28B053
monochromatic
#41114C #6C1D7E #9728B0 #B941D4 #CB73DF

Accessibility & contrast

On white

6.47
#9728B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9728B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9728B0
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9728B0#FFFFFF#000000##FFFFFF
##9728B01.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9728b0;
/* rgb */ color: rgb(151, 40, 176);
/* oklch */ color: oklch(51.0% 0.212 319.4);
Tailwind
colors: {
  custom: {
    50: '#ba6fc8',
    500: '#9728b0',
    950: '#000000',
  },
}
SCSS
$custom: #9728b0;
$custom-light: #ba6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9728b0",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 288.971,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51036,
    "c": 0.21219,
    "h": 319.4
  },
  "luminance": 0.11231
}

Semantic roles & 50–950 ramp

primary
#9728B0
secondary
#7EC66D
accent
#E64260
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9728B0

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

Preview Lab → · Contrast checker → · Palette generator →

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