#9730C2#9730C2

#9730C2 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.220 H 313.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9730C2
RGBrgb(151, 48, 194)
HSLhsl(282, 60%, 47%)
HSVhsv(282, 75%, 76%)
CMYKcmyk(22.2%, 75.3%, 0%, 23.9%)
CIE-LABlab(42.14, 63.47, -56.31)
CIE-LCHlch(42.14, 84.85, 318.42°)
OKLaboklab(52.95% 0.1515 -0.1591)
OKLCHoklch(52.95% 0.22 313.6)
XYZxyz(23.5554, 12.5890, 52.2176)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730C2 #5BC230
analogous
#4E30C2 #9730C2 #C230A4
triadic
#9730C2 #C29730 #30C297
tetradic
#9730C2 #C24E30 #5BC230 #30A4C2
square
#9730C2 #C24E30 #5BC230 #30A4C2
split-complementary
#9730C2 #A4C230 #30C24E
monochromatic
#4B1860 #712491 #9730C2 #B159D6 #C88AE2

Accessibility & contrast

On white

5.97
#9730C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9730C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730C2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730C2#FFFFFF#000000##FFFFFF
##9730C21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2266BF
Tritanopia (blue-blind)
#935177
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9730c2;
/* rgb */ color: rgb(151, 48, 194);
/* oklch */ color: oklch(53.0% 0.220 313.6);
Tailwind
colors: {
  custom: {
    50: '#ba73d5',
    500: '#9730c2',
    950: '#000000',
  },
}
SCSS
$custom: #9730c2;
$custom-light: #ba73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9730c2",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 282.329,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52954,
    "c": 0.21968,
    "h": 313.6
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#9730C2
secondary
#98CC82
accent
#E34473
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9730C2

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

Preview Lab → · Contrast checker → · Palette generator →

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