#9F30AC#9F30AC

#9F30AC is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.6% C 0.204 H 323.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9F30AC
RGBrgb(159, 48, 172)
HSLhsl(294, 56%, 43%)
HSVhsv(294, 72%, 67%)
CMYKcmyk(7.6%, 72.1%, 0%, 32.5%)
CIE-LABlab(41.95, 60.91, -43.60)
CIE-LCHlch(41.95, 74.91, 324.40°)
OKLaboklab(52.61% 0.1634 -0.1216)
OKLCHoklch(52.61% 0.204 323.3)
XYZxyz(22.8007, 12.4647, 40.2267)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F30AC #3DAC30
analogous
#6130AC #9F30AC #AC307B
triadic
#9F30AC #AC9F30 #30AC9F
tetradic
#9F30AC #AC6130 #3DAC30 #307BAC
square
#9F30AC #AC6130 #3DAC30 #307BAC
split-complementary
#9F30AC #7BAC30 #30AC61
monochromatic
#47154C #73237C #9F30AC #C04CCD #D17CDA

Accessibility & contrast

On white

6.01
#9F30AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9F30AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F30AC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F30AC#FFFFFF#000000##FFFFFF
##9F30AC1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#4567A9
Tritanopia (blue-blind)
#A2466B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f30ac;
/* rgb */ color: rgb(159, 48, 172);
/* oklch */ color: oklch(52.6% 0.204 323.3);
Tailwind
colors: {
  custom: {
    50: '#bf73c5',
    500: '#9f30ac',
    950: '#000000',
  },
}
SCSS
$custom: #9f30ac;
$custom-light: #bf73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f30ac",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 293.71,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52611,
    "c": 0.20367,
    "h": 323.3
  },
  "luminance": 0.12463
}

Semantic roles & 50–950 ramp

primary
#9F30AC
secondary
#7DC375
accent
#E04858
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F30AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9F30AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva