#9F34D3#9F34D3

#9F34D3 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.6% C 0.233 H 311.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9F34D3
RGBrgb(159, 52, 211)
HSLhsl(280, 64%, 52%)
HSVhsv(280, 75%, 83%)
CMYKcmyk(24.6%, 75.4%, 0%, 17.3%)
CIE-LABlab(44.98, 66.96, -61.50)
CIE-LCHlch(44.98, 90.91, 317.43°)
OKLaboklab(55.58% 0.1553 -0.1741)
OKLCHoklch(55.58% 0.233 311.7)
XYZxyz(27.2817, 14.5308, 62.9830)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34D3 #68D334
analogous
#5034D3 #9F34D3 #D334B8
triadic
#9F34D3 #D39F34 #34D39F
tetradic
#9F34D3 #D35034 #68D334 #34B8D3
square
#9F34D3 #D35034 #68D334 #34B8D3
split-complementary
#9F34D3 #B8D334 #34D350
monochromatic
#561974 #7B24A6 #9F34D3 #B766DE #CF99E9

Accessibility & contrast

On white

5.38
#9F34D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9F34D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34D3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34D3#FFFFFF#000000##FFFFFF
##9F34D31.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#176CD0
Tritanopia (blue-blind)
#985982
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f34d3;
/* rgb */ color: rgb(159, 52, 211);
/* oklch */ color: oklch(55.6% 0.233 311.7);
Tailwind
colors: {
  custom: {
    50: '#c077e1',
    500: '#9f34d3',
    950: '#000000',
  },
}
SCSS
$custom: #9f34d3;
$custom-light: #c077e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34d3",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 211
  },
  "hsl": {
    "h": 280.377,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.23331,
    "h": 311.7
  },
  "luminance": 0.1453
}

Semantic roles & 50–950 ramp

primary
#9F34D3
secondary
#A5D48E
accent
#E74077
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F34D3

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

Preview Lab → · Contrast checker → · Palette generator →

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