#9F30BA#9F30BA

#9F30BA is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.216 H 318.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9F30BA
RGBrgb(159, 48, 186)
HSLhsl(288, 59%, 46%)
HSVhsv(288, 74%, 73%)
CMYKcmyk(14.5%, 74.2%, 0%, 27.1%)
CIE-LABlab(42.81, 63.49, -50.48)
CIE-LCHlch(42.81, 81.11, 321.51°)
OKLaboklab(53.5% 0.1624 -0.1417)
OKLCHoklch(53.5% 0.216 318.9)
XYZxyz(24.2168, 13.0312, 47.6845)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F30BA #4BBA30
analogous
#5A30BA #9F30BA #BA3090
triadic
#9F30BA #BA9F30 #30BA9F
tetradic
#9F30BA #BA5A30 #4BBA30 #3090BA
square
#9F30BA #BA5A30 #4BBA30 #3090BA
split-complementary
#9F30BA #90BA30 #30BA5A
monochromatic
#4C1759 #752389 #9F30BA #BA54D3 #CE85DF

Accessibility & contrast

On white

5.82
#9F30BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9F30BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F30BA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F30BA#FFFFFF#000000##FFFFFF
##9F30BA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#3969B7
Tritanopia (blue-blind)
#9F4C73
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f30ba;
/* rgb */ color: rgb(159, 48, 186);
/* oklch */ color: oklch(53.5% 0.216 318.9);
Tailwind
colors: {
  custom: {
    50: '#bf74cf',
    500: '#9f30ba',
    950: '#000000',
  },
}
SCSS
$custom: #9f30ba;
$custom-light: #bf74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f30ba",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 288.261,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53504,
    "c": 0.21554,
    "h": 318.9
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#9F30BA
secondary
#8CC97D
accent
#E24664
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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