#9F34CF#9F34CF

#9F34CF is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.3% C 0.230 H 312.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9F34CF
RGBrgb(159, 52, 207)
HSLhsl(281, 62%, 51%)
HSVhsv(281, 75%, 81%)
CMYKcmyk(23.2%, 74.9%, 0%, 18.8%)
CIE-LABlab(44.71, 66.15, -59.64)
CIE-LCHlch(44.71, 89.07, 317.96°)
OKLaboklab(55.29% 0.156 -0.1686)
OKLCHoklch(55.29% 0.23 312.8)
XYZxyz(26.7865, 14.3327, 60.3748)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F34CF #64CF34
analogous
#5134CF #9F34CF #CF34B2
triadic
#9F34CF #CF9F34 #34CF9F
tetradic
#9F34CF #CF5134 #64CF34 #34B2CF
square
#9F34CF #CF5134 #64CF34 #34B2CF
split-complementary
#9F34CF #B2CF34 #34CF51
monochromatic
#541A6E #7A26A0 #9F34CF #B665DB #CE97E6

Accessibility & contrast

On white

5.43
#9F34CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9F34CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F34CF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F34CF#FFFFFF#000000##FFFFFF
##9F34CF1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#206CCC
Tritanopia (blue-blind)
#9A5880
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f34cf;
/* rgb */ color: rgb(159, 52, 207);
/* oklch */ color: oklch(55.3% 0.230 312.8);
Tailwind
colors: {
  custom: {
    50: '#c076de',
    500: '#9f34cf',
    950: '#000000',
  },
}
SCSS
$custom: #9f34cf;
$custom-light: #c076de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f34cf",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 207
  },
  "hsl": {
    "h": 281.419,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55291,
    "c": 0.22973,
    "h": 312.8
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#9F34CF
secondary
#A2D28D
accent
#E54375
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F34CF

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

Preview Lab → · Contrast checker → · Palette generator →

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