#9F30AF#9F30AF

#9F30AF is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.206 H 322.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9F30AF
RGBrgb(159, 48, 175)
HSLhsl(292, 57%, 44%)
HSVhsv(292, 73%, 69%)
CMYKcmyk(9.1%, 72.6%, 0%, 31.4%)
CIE-LABlab(42.13, 61.45, -45.10)
CIE-LCHlch(42.13, 76.22, 323.73°)
OKLaboklab(52.8% 0.1632 -0.126)
OKLCHoklch(52.8% 0.206 322.3)
XYZxyz(23.0921, 12.5813, 41.7612)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F30AF #40AF30
analogous
#5F30AF #9F30AF #AF307F
triadic
#9F30AF #AF9F30 #30AF9F
tetradic
#9F30AF #AF5F30 #40AF30 #307FAF
square
#9F30AF #AF5F30 #40AF30 #307FAF
split-complementary
#9F30AF #7FAF30 #30AF5F
monochromatic
#48164F #73237F #9F30AF #BE4ECE #D07EDC

Accessibility & contrast

On white

5.97
#9F30AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9F30AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F30AF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F30AF#FFFFFF#000000##FFFFFF
##9F30AF1.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)
#005BB3
Deuteranopia (green-blind)
#4268AC
Tritanopia (blue-blind)
#A1476D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f30af;
/* rgb */ color: rgb(159, 48, 175);
/* oklch */ color: oklch(52.8% 0.206 322.3);
Tailwind
colors: {
  custom: {
    50: '#bf73c7',
    500: '#9f30af',
    950: '#000000',
  },
}
SCSS
$custom: #9f30af;
$custom-light: #bf73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f30af",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 292.441,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.20619,
    "h": 322.3
  },
  "luminance": 0.1258
}

Semantic roles & 50–950 ramp

primary
#9F30AF
secondary
#80C476
accent
#E0485B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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