#9F30BB#9F30BB

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

Color values

HEX#9F30BB
RGBrgb(159, 48, 187)
HSLhsl(288, 59%, 46%)
HSVhsv(288, 74%, 73%)
CMYKcmyk(15%, 74.3%, 0%, 26.7%)
CIE-LABlab(42.87, 63.67, -50.97)
CIE-LCHlch(42.87, 81.56, 321.32°)
OKLaboklab(53.57% 0.1623 -0.1432)
OKLCHoklch(53.57% 0.216 318.6)
XYZxyz(24.3234, 13.0738, 48.2464)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F30BB #4CBB30
analogous
#5930BB #9F30BB #BB3091
triadic
#9F30BB #BB9F30 #30BB9F
tetradic
#9F30BB #BB5930 #4CBB30 #3091BB
square
#9F30BB #BB5930 #4CBB30 #3091BB
split-complementary
#9F30BB #91BB30 #30BB59
monochromatic
#4C175A #76238A #9F30BB #BA55D3 #CE86E0

Accessibility & contrast

On white

5.81
#9F30BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F30BB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F30BB#FFFFFF#000000##FFFFFF
##9F30BB1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#3869B8
Tritanopia (blue-blind)
#9E4D74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f30bb;
/* rgb */ color: rgb(159, 48, 187);
/* oklch */ color: oklch(53.6% 0.216 318.6);
Tailwind
colors: {
  custom: {
    50: '#bf74d0',
    500: '#9f30bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f30bb;
$custom-light: #bf74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f30bb",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 287.914,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.21639,
    "h": 318.6
  },
  "luminance": 0.13073
}

Semantic roles & 50–950 ramp

primary
#9F30BB
secondary
#8DC97D
accent
#E24565
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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