#9F3DBE#9F3DBE

#9F3DBE is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.0% C 0.204 H 316.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9F3DBE
RGBrgb(159, 61, 190)
HSLhsl(286, 51%, 49%)
HSVhsv(286, 68%, 75%)
CMYKcmyk(16.3%, 67.9%, 0%, 25.5%)
CIE-LABlab(44.84, 59.23, -49.57)
CIE-LCHlch(44.84, 77.23, 320.07°)
OKLaboklab(55.03% 0.149 -0.1391)
OKLCHoklch(55.03% 0.204 316.9)
XYZxyz(25.2597, 14.4271, 50.1594)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DBE #5CBE3D
analogous
#5F3DBE #9F3DBE #BE3D9D
triadic
#9F3DBE #BE9F3D #3DBE9F
tetradic
#9F3DBE #BE5F3D #5CBE3D #3D9DBE
square
#9F3DBE #BE5F3D #5CBE3D #3D9DBE
split-complementary
#9F3DBE #9DBE3D #3DBE5F
monochromatic
#511F61 #782E90 #9F3DBE #B669CF #CD98DE

Accessibility & contrast

On white

5.41
#9F3DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F3DBE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DBE#FFFFFF#000000##FFFFFF
##9F3DBE1.005.413.895.41
#FFFFFF5.411.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#3F6DBB
Tritanopia (blue-blind)
#9E5679
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f3dbe;
/* rgb */ color: rgb(159, 61, 190);
/* oklch */ color: oklch(55.0% 0.204 316.9);
Tailwind
colors: {
  custom: {
    50: '#bf7ad2',
    500: '#9f3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dbe;
$custom-light: #bf7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dbe",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 285.581,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55032,
    "c": 0.20384,
    "h": 316.9
  },
  "luminance": 0.14426
}

Semantic roles & 50–950 ramp

primary
#9F3DBE
secondary
#9CC98D
accent
#DB4D6F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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