#9F3CB9#9F3CB9

#9F3CB9 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.6% C 0.201 H 318.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9F3CB9
RGBrgb(159, 60, 185)
HSLhsl(288, 51%, 48%)
HSVhsv(288, 68%, 73%)
CMYKcmyk(14.1%, 67.6%, 0%, 27.5%)
CIE-LABlab(44.39, 58.66, -47.37)
CIE-LCHlch(44.39, 75.40, 321.08°)
OKLaboklab(54.61% 0.1503 -0.1327)
OKLCHoklch(54.61% 0.201 318.6)
XYZxyz(24.6697, 14.1065, 47.3129)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3CB9 #56B93C
analogous
#603CB9 #9F3CB9 #B93C94
triadic
#9F3CB9 #B99F3C #3CB99F
tetradic
#9F3CB9 #B9603C #56B93C #3C94B9
square
#9F3CB9 #B9603C #56B93C #3C94B9
split-complementary
#9F3CB9 #94B93C #3CB960
monochromatic
#501E5D #772D8B #9F3CB9 #B765CD #CD93DC

Accessibility & contrast

On white

5.50
#9F3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9F3CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3CB9
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3CB9#FFFFFF#000000##FFFFFF
##9F3CB91.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0362BD
Deuteranopia (green-blind)
#436CB6
Tritanopia (blue-blind)
#9F5376
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3cb9;
/* rgb */ color: rgb(159, 60, 185);
/* oklch */ color: oklch(54.6% 0.201 318.6);
Tailwind
colors: {
  custom: {
    50: '#bf79cf',
    500: '#9f3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #9f3cb9;
$custom-light: #bf79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3cb9",
  "rgb": {
    "r": 159,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 287.52,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54609,
    "c": 0.2005,
    "h": 318.6
  },
  "luminance": 0.14105
}

Semantic roles & 50–950 ramp

primary
#9F3CB9
secondary
#96C789
accent
#DA4D6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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