#9F30BF#9F30BF

#9F30BF is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.220 H 317.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9F30BF
RGBrgb(159, 48, 191)
HSLhsl(287, 60%, 47%)
HSVhsv(287, 75%, 75%)
CMYKcmyk(16.8%, 74.9%, 0%, 25.1%)
CIE-LABlab(43.13, 64.43, -52.89)
CIE-LCHlch(43.13, 83.36, 320.62°)
OKLaboklab(53.84% 0.1618 -0.1488)
OKLCHoklch(53.84% 0.22 317.4)
XYZxyz(24.7576, 13.2475, 50.5330)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F30BF #50BF30
analogous
#5730BF #9F30BF #BF3098
triadic
#9F30BF #BF9F30 #30BF9F
tetradic
#9F30BF #BF5730 #50BF30 #3098BF
square
#9F30BF #BF5730 #50BF30 #3098BF
split-complementary
#9F30BF #98BF30 #30BF57
monochromatic
#4E175D #76248E #9F30BF #B957D5 #CD88E1

Accessibility & contrast

On white

5.75
#9F30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9F30BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F30BF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F30BF#FFFFFF#000000##FFFFFF
##9F30BF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#3469BC
Tritanopia (blue-blind)
#9E4F76
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f30bf;
/* rgb */ color: rgb(159, 48, 191);
/* oklch */ color: oklch(53.8% 0.220 317.4);
Tailwind
colors: {
  custom: {
    50: '#c074d3',
    500: '#9f30bf',
    950: '#000000',
  },
}
SCSS
$custom: #9f30bf;
$custom-light: #c074d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f30bf",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 286.573,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53837,
    "c": 0.21983,
    "h": 317.4
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

primary
#9F30BF
secondary
#91CB80
accent
#E34568
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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