#9F39AF#9F39AF

#9F39AF is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.195 H 322.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9F39AF
RGBrgb(159, 57, 175)
HSLhsl(292, 51%, 45%)
HSVhsv(292, 67%, 69%)
CMYKcmyk(9.1%, 67.4%, 0%, 31.4%)
CIE-LABlab(43.35, 57.99, -43.14)
CIE-LCHlch(43.35, 72.28, 323.35°)
OKLaboklab(53.68% 0.1539 -0.1203)
OKLCHoklch(53.68% 0.195 322)
XYZxyz(23.4982, 13.3936, 41.8966)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39AF #49AF39
analogous
#6439AF #9F39AF #AF3984
triadic
#9F39AF #AF9F39 #39AF9F
tetradic
#9F39AF #AF6439 #49AF39 #3984AF
square
#9F39AF #AF6439 #49AF39 #3984AF
split-complementary
#9F39AF #84AF39 #39AF64
monochromatic
#4B1B53 #752A81 #9F39AF #BB5BCA #CE8AD9

Accessibility & contrast

On white

5.71
#9F39AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9F39AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39AF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39AF#FFFFFF#000000##FFFFFF
##9F39AF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#A14D6F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f39af;
/* rgb */ color: rgb(159, 57, 175);
/* oklch */ color: oklch(53.7% 0.195 322.0);
Tailwind
colors: {
  custom: {
    50: '#bf78c7',
    500: '#9f39af',
    950: '#000000',
  },
}
SCSS
$custom: #9f39af;
$custom-light: #bf78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39af",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 291.864,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.19533,
    "h": 322
  },
  "luminance": 0.13392
}

Semantic roles & 50–950 ramp

primary
#9F39AF
secondary
#8AC381
accent
#DA4D61
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F39AF

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

Preview Lab → · Contrast checker → · Palette generator →

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