#9730A2#9730A2

#9730A2 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.192 H 323.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9730A2
RGBrgb(151, 48, 162)
HSLhsl(294, 54%, 41%)
HSVhsv(294, 70%, 64%)
CMYKcmyk(6.8%, 70.4%, 0%, 36.5%)
CIE-LABlab(40.09, 57.32, -40.67)
CIE-LCHlch(40.09, 70.29, 324.64°)
OKLaboklab(50.84% 0.1544 -0.1133)
OKLCHoklch(50.84% 0.192 323.7)
XYZxyz(20.3405, 11.3031, 35.2857)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730A2 #3BA230
analogous
#5E30A2 #9730A2 #A23074
triadic
#9730A2 #A29730 #30A297
tetradic
#9730A2 #A25E30 #3BA230 #3074A2
square
#9730A2 #A25E30 #3BA230 #3074A2
split-complementary
#9730A2 #74A230 #30A25E
monochromatic
#3F1444 #6B2273 #9730A2 #BC47C8 #CD76D6

Accessibility & contrast

On white

6.44
#9730A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9730A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730A2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730A2#FFFFFF#000000##FFFFFF
##9730A21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A5
Deuteranopia (green-blind)
#43639F
Tritanopia (blue-blind)
#9A4366
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9730a2;
/* rgb */ color: rgb(151, 48, 162);
/* oklch */ color: oklch(50.8% 0.192 323.7);
Tailwind
colors: {
  custom: {
    50: '#b972be',
    500: '#9730a2',
    950: '#000000',
  },
}
SCSS
$custom: #9730a2;
$custom-light: #b972be;
$custom-dark: #000000;
JSON
{
  "hex": "#9730a2",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 294.211,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.19153,
    "h": 323.7
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#9730A2
secondary
#77BE6F
accent
#DE4A58
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9730A2

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

Preview Lab → · Contrast checker → · Palette generator →

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