#9F3DBF#9F3DBF

#9F3DBF is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.1% C 0.205 H 316.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9F3DBF
RGBrgb(159, 61, 191)
HSLhsl(285, 52%, 49%)
HSVhsv(285, 68%, 75%)
CMYKcmyk(16.8%, 68.1%, 0%, 25.1%)
CIE-LABlab(44.90, 59.43, -50.05)
CIE-LCHlch(44.90, 77.70, 319.89°)
OKLaboklab(55.1% 0.1489 -0.1406)
OKLCHoklch(55.1% 0.205 316.6)
XYZxyz(25.3694, 14.4710, 50.7369)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DBF #5DBF3D
analogous
#5E3DBF #9F3DBF #BF3D9E
triadic
#9F3DBF #BF9F3D #3DBF9F
tetradic
#9F3DBF #BF5E3D #5DBF3D #3D9EBF
square
#9F3DBF #BF5E3D #5DBF3D #3D9EBF
split-complementary
#9F3DBF #9EBF3D #3DBF5E
monochromatic
#521F62 #782E91 #9F3DBF #B66ACF #CD98DE

Accessibility & contrast

On white

5.39
#9F3DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9F3DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DBF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DBF#FFFFFF#000000##FFFFFF
##9F3DBF1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#3E6DBC
Tritanopia (blue-blind)
#9D5679
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f3dbf;
/* rgb */ color: rgb(159, 61, 191);
/* oklch */ color: oklch(55.1% 0.205 316.6);
Tailwind
colors: {
  custom: {
    50: '#bf7ad3',
    500: '#9f3dbf',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dbf;
$custom-light: #bf7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dbf",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 285.231,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55096,
    "c": 0.20477,
    "h": 316.6
  },
  "luminance": 0.1447
}

Semantic roles & 50–950 ramp

primary
#9F3DBF
secondary
#9DCA8E
accent
#DB4D70
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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