#9F34B8#9F34B8

#9F34B8 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.209 H 319.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9F34B8
RGBrgb(159, 52, 184)
HSLhsl(289, 56%, 46%)
HSVhsv(289, 72%, 72%)
CMYKcmyk(13.6%, 71.7%, 0%, 27.8%)
CIE-LABlab(43.20, 61.65, -48.69)
CIE-LCHlch(43.20, 78.56, 321.70°)
OKLaboklab(53.74% 0.1587 -0.1365)
OKLCHoklch(53.74% 0.209 319.3)
XYZxyz(24.1767, 13.2888, 46.6296)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34B8 #4DB834
analogous
#5D34B8 #9F34B8 #B8348F
triadic
#9F34B8 #B89F34 #34B89F
tetradic
#9F34B8 #B85D34 #4DB834 #348FB8
square
#9F34B8 #B85D34 #4DB834 #348FB8
split-complementary
#9F34B8 #8FB834 #34B85D
monochromatic
#4D1959 #762788 #9F34B8 #BA59D0 #CE89DE

Accessibility & contrast

On white

5.74
#9F34B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9F34B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34B8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34B8#FFFFFF#000000##FFFFFF
##9F34B81.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#3E6AB5
Tritanopia (blue-blind)
#9F4E73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f34b8;
/* rgb */ color: rgb(159, 52, 184);
/* oklch */ color: oklch(53.7% 0.209 319.3);
Tailwind
colors: {
  custom: {
    50: '#bf75ce',
    500: '#9f34b8',
    950: '#000000',
  },
}
SCSS
$custom: #9f34b8;
$custom-light: #bf75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34b8",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 288.636,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53738,
    "c": 0.20936,
    "h": 319.3
  },
  "luminance": 0.13288
}

Semantic roles & 50–950 ramp

primary
#9F34B8
secondary
#8EC880
accent
#DF4965
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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