#9F34C4#9F34C4

#9F34C4 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.220 H 315.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9F34C4
RGBrgb(159, 52, 196)
HSLhsl(285, 58%, 49%)
HSVhsv(285, 73%, 77%)
CMYKcmyk(18.9%, 73.5%, 0%, 23.1%)
CIE-LABlab(43.96, 63.97, -54.47)
CIE-LCHlch(43.96, 84.02, 319.58°)
OKLaboklab(54.53% 0.1575 -0.1535)
OKLCHoklch(54.53% 0.22 315.8)
XYZxyz(25.4883, 13.8134, 53.5375)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34C4 #59C434
analogous
#5734C4 #9F34C4 #C434A1
triadic
#9F34C4 #C49F34 #34C49F
tetradic
#9F34C4 #C45734 #59C434 #34A1C4
square
#9F34C4 #C45734 #59C434 #34A1C4
split-complementary
#9F34C4 #A1C434 #34C457
monochromatic
#511A63 #782794 #9F34C4 #B760D5 #CD91E2

Accessibility & contrast

On white

5.58
#9F34C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9F34C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34C4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34C4#FFFFFF#000000##FFFFFF
##9F34C41.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#316BC1
Tritanopia (blue-blind)
#9C537A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f34c4;
/* rgb */ color: rgb(159, 52, 196);
/* oklch */ color: oklch(54.5% 0.220 315.8);
Tailwind
colors: {
  custom: {
    50: '#c076d7',
    500: '#9f34c4',
    950: '#000000',
  },
}
SCSS
$custom: #9f34c4;
$custom-light: #c076d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34c4",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 284.583,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5453,
    "c": 0.21993,
    "h": 315.8
  },
  "luminance": 0.13812
}

Semantic roles & 50–950 ramp

primary
#9F34C4
secondary
#99CC87
accent
#E1476E
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F34C4

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

Preview Lab → · Contrast checker → · Palette generator →

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