#9F3DB2#9F3DB2

#9F3DB2 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.193 H 320.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9F3DB2
RGBrgb(159, 61, 178)
HSLhsl(290, 49%, 47%)
HSVhsv(290, 66%, 70%)
CMYKcmyk(10.7%, 65.7%, 0%, 30.2%)
CIE-LABlab(44.12, 56.88, -43.68)
CIE-LCHlch(44.12, 71.72, 322.48°)
OKLaboklab(54.29% 0.1493 -0.1219)
OKLCHoklch(54.29% 0.193 320.8)
XYZxyz(24.0018, 13.9240, 43.5342)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DB2 #50B23D
analogous
#643DB2 #9F3DB2 #B23D8B
triadic
#9F3DB2 #B29F3D #3DB29F
tetradic
#9F3DB2 #B2643D #50B23D #3D8BB2
square
#9F3DB2 #B2643D #50B23D #3D8BB2
split-complementary
#9F3DB2 #8BB23D #3DB264
monochromatic
#4E1E57 #762D84 #9F3DB2 #B963C9 #CD90D9

Accessibility & contrast

On white

5.55
#9F3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9F3DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DB2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DB2#FFFFFF#000000##FFFFFF
##9F3DB21.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B61B5
Deuteranopia (green-blind)
#496CAF
Tritanopia (blue-blind)
#A05172
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f3db2;
/* rgb */ color: rgb(159, 61, 178);
/* oklch */ color: oklch(54.3% 0.193 320.8);
Tailwind
colors: {
  custom: {
    50: '#bf7ac9',
    500: '#9f3db2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3db2;
$custom-light: #bf7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3db2",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 290.256,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54288,
    "c": 0.19278,
    "h": 320.8
  },
  "luminance": 0.13923
}

Semantic roles & 50–950 ramp

primary
#9F3DB2
secondary
#91C487
accent
#D94F66
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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