#9F34BD#9F34BD

#9F34BD is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.214 H 317.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9F34BD
RGBrgb(159, 52, 189)
HSLhsl(287, 57%, 47%)
HSVhsv(287, 72%, 74%)
CMYKcmyk(15.9%, 72.5%, 0%, 25.9%)
CIE-LABlab(43.51, 62.61, -51.12)
CIE-LCHlch(43.51, 80.82, 320.77°)
OKLaboklab(54.06% 0.1583 -0.1436)
OKLCHoklch(54.06% 0.214 317.8)
XYZxyz(24.7101, 13.5021, 49.4388)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34BD #52BD34
analogous
#5A34BD #9F34BD #BD3497
triadic
#9F34BD #BD9F34 #34BD9F
tetradic
#9F34BD #BD5A34 #52BD34 #3497BD
square
#9F34BD #BD5A34 #52BD34 #3497BD
split-complementary
#9F34BD #97BD34 #34BD5A
monochromatic
#4E1A5D #77278D #9F34BD #B85CD2 #CD8CDF

Accessibility & contrast

On white

5.68
#9F34BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9F34BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34BD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34BD#FFFFFF#000000##FFFFFF
##9F34BD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#9E5076
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f34bd;
/* rgb */ color: rgb(159, 52, 189);
/* oklch */ color: oklch(54.1% 0.214 317.8);
Tailwind
colors: {
  custom: {
    50: '#bf76d2',
    500: '#9f34bd',
    950: '#000000',
  },
}
SCSS
$custom: #9f34bd;
$custom-light: #bf76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34bd",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 286.861,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54063,
    "c": 0.21375,
    "h": 317.8
  },
  "luminance": 0.13501
}

Semantic roles & 50–950 ramp

primary
#9F34BD
secondary
#93CA83
accent
#E04869
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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