#9F3DA2#9F3DA2

#9F3DA2 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.4% C 0.178 H 326.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9F3DA2
RGBrgb(159, 61, 162)
HSLhsl(298, 45%, 44%)
HSVhsv(298, 62%, 64%)
CMYKcmyk(1.9%, 62.3%, 0%, 36.5%)
CIE-LABlab(43.24, 53.91, -35.60)
CIE-LCHlch(43.24, 64.60, 326.56°)
OKLaboklab(53.36% 0.1489 -0.0984)
OKLCHoklch(53.36% 0.178 326.5)
XYZxyz(22.4880, 13.3185, 35.5617)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DA2 #40A23D
analogous
#6C3DA2 #9F3DA2 #A23D72
triadic
#9F3DA2 #A29F3D #3DA29F
tetradic
#9F3DA2 #A26C3D #40A23D #3D72A2
square
#9F3DA2 #A26C3D #40A23D #3D72A2
split-complementary
#9F3DA2 #72A23D #3DA26C
monochromatic
#481C49 #732C76 #9F3DA2 #BE5BC1 #D087D2

Accessibility & contrast

On white

5.73
#9F3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9F3DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DA2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DA2#FFFFFF#000000##FFFFFF
##9F3DA21.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#526B9F
Tritanopia (blue-blind)
#A34B6A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f3da2;
/* rgb */ color: rgb(159, 61, 162);
/* oklch */ color: oklch(53.4% 0.178 326.5);
Tailwind
colors: {
  custom: {
    50: '#be79be',
    500: '#9f3da2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3da2;
$custom-light: #be79be;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3da2",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 298.218,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53362,
    "c": 0.17846,
    "h": 326.5
  },
  "luminance": 0.13317
}

Semantic roles & 50–950 ramp

primary
#9F3DA2
secondary
#80BC7E
accent
#D55357
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9F3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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