#9F34C8#9F34C8

#9F34C8 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.223 H 314.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9F34C8
RGBrgb(159, 52, 200)
HSLhsl(283, 59%, 49%)
HSVhsv(283, 74%, 78%)
CMYKcmyk(20.5%, 74%, 0%, 21.6%)
CIE-LABlab(44.23, 64.75, -56.36)
CIE-LCHlch(44.23, 85.85, 318.96°)
OKLaboklab(54.8% 0.157 -0.159)
OKLCHoklch(54.8% 0.223 314.6)
XYZxyz(25.9497, 13.9980, 55.9673)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34C8 #5DC834
analogous
#5534C8 #9F34C8 #C834A7
triadic
#9F34C8 #C89F34 #34C89F
tetradic
#9F34C8 #C85534 #5DC834 #34A7C8
square
#9F34C8 #C85534 #5DC834 #34A7C8
split-complementary
#9F34C8 #A7C834 #34C855
monochromatic
#521B67 #782797 #9F34C8 #B663D6 #CD93E3

Accessibility & contrast

On white

5.53
#9F34C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9F34C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34C8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34C8#FFFFFF#000000##FFFFFF
##9F34C81.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#2C6BC5
Tritanopia (blue-blind)
#9B557C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f34c8;
/* rgb */ color: rgb(159, 52, 200);
/* oklch */ color: oklch(54.8% 0.223 314.6);
Tailwind
colors: {
  custom: {
    50: '#c076d9',
    500: '#9f34c8',
    950: '#000000',
  },
}
SCSS
$custom: #9f34c8;
$custom-light: #c076d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34c8",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 283.378,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54803,
    "c": 0.22349,
    "h": 314.6
  },
  "luminance": 0.13997
}

Semantic roles & 50–950 ramp

primary
#9F34C8
secondary
#9DCE8A
accent
#E24671
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F34C8

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

Preview Lab → · Contrast checker → · Palette generator →

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