#9730AB#9730AB

#9730AB is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.199 H 320.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9730AB
RGBrgb(151, 48, 171)
HSLhsl(290, 56%, 43%)
HSVhsv(290, 72%, 67%)
CMYKcmyk(11.7%, 71.9%, 0%, 32.9%)
CIE-LABlab(40.63, 58.99, -45.18)
CIE-LCHlch(40.63, 74.31, 322.55°)
OKLaboklab(51.4% 0.154 -0.1265)
OKLCHoklch(51.4% 0.199 320.6)
XYZxyz(21.1693, 11.6346, 39.6508)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730AB #44AB30
analogous
#5930AB #9730AB #AB3081
triadic
#9730AB #AB9730 #30AB97
tetradic
#9730AB #AB5930 #44AB30 #3081AB
square
#9730AB #AB5930 #44AB30 #3081AB
split-complementary
#9730AB #81AB30 #30AB59
monochromatic
#43154B #6D237B #9730AB #B84CCD #CB7BDA

Accessibility & contrast

On white

6.31
#9730AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9730AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730AB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730AB#FFFFFF#000000##FFFFFF
##9730AB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#3D63A8
Tritanopia (blue-blind)
#98476B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9730ab;
/* rgb */ color: rgb(151, 48, 171);
/* oklch */ color: oklch(51.4% 0.199 320.6);
Tailwind
colors: {
  custom: {
    50: '#b972c5',
    500: '#9730ab',
    950: '#000000',
  },
}
SCSS
$custom: #9730ab;
$custom-light: #b972c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9730ab",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 290.244,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51403,
    "c": 0.19931,
    "h": 320.6
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#9730AB
secondary
#81C374
accent
#DF4861
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9730AB

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

Preview Lab → · Contrast checker → · Palette generator →

#9730AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva