#9F30BC#9F30BC

#9F30BC is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.217 H 318.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9F30BC
RGBrgb(159, 48, 188)
HSLhsl(288, 59%, 46%)
HSVhsv(288, 74%, 74%)
CMYKcmyk(15.4%, 74.5%, 0%, 26.3%)
CIE-LABlab(42.94, 63.86, -51.45)
CIE-LCHlch(42.94, 82.01, 321.14°)
OKLaboklab(53.64% 0.1622 -0.1446)
OKLCHoklch(53.64% 0.217 318.3)
XYZxyz(24.4309, 13.1168, 48.8121)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F30BC #4DBC30
analogous
#5930BC #9F30BC #BC3093
triadic
#9F30BC #BC9F30 #30BC9F
tetradic
#9F30BC #BC5930 #4DBC30 #3093BC
square
#9F30BC #BC5930 #4DBC30 #3093BC
split-complementary
#9F30BC #93BC30 #30BC59
monochromatic
#4D175A #76248B #9F30BC #BA55D4 #CE86E0

Accessibility & contrast

On white

5.80
#9F30BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9F30BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F30BC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F30BC#FFFFFF#000000##FFFFFF
##9F30BC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#9E4D74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f30bc;
/* rgb */ color: rgb(159, 48, 188);
/* oklch */ color: oklch(53.6% 0.217 318.3);
Tailwind
colors: {
  custom: {
    50: '#bf74d1',
    500: '#9f30bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f30bc;
$custom-light: #bf74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f30bc",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 287.571,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53636,
    "c": 0.21726,
    "h": 318.3
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#9F30BC
secondary
#8ECA7E
accent
#E34566
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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