#9F3BC3#9F3BC3

#9F3BC3 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.211 H 315.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9F3BC3
RGBrgb(159, 59, 195)
HSLhsl(284, 54%, 50%)
HSVhsv(284, 70%, 76%)
CMYKcmyk(18.5%, 69.7%, 0%, 23.5%)
CIE-LABlab(44.86, 61.05, -52.45)
CIE-LCHlch(44.86, 80.49, 319.33°)
OKLaboklab(55.15% 0.1507 -0.1476)
OKLCHoklch(55.15% 0.211 315.6)
XYZxyz(25.7108, 14.4399, 53.0520)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BC3 #5FC33B
analogous
#5B3BC3 #9F3BC3 #C33BA3
triadic
#9F3BC3 #C39F3B #3BC39F
tetradic
#9F3BC3 #C35B3B #5FC33B #3BA3C3
square
#9F3BC3 #C35B3B #5FC33B #3BA3C3
split-complementary
#9F3BC3 #A3C33B #3BC35B
monochromatic
#521F65 #792D94 #9F3BC3 #B669D2 #CD98E0

Accessibility & contrast

On white

5.40
#9F3BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F3BC3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BC3#FFFFFF#000000##FFFFFF
##9F3BC31.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#396DC0
Tritanopia (blue-blind)
#9C567B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f3bc3;
/* rgb */ color: rgb(159, 59, 195);
/* oklch */ color: oklch(55.1% 0.211 315.6);
Tailwind
colors: {
  custom: {
    50: '#bf79d6',
    500: '#9f3bc3',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bc3;
$custom-light: #bf79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bc3",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 284.118,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55145,
    "c": 0.21095,
    "h": 315.6
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#9F3BC3
secondary
#9ECC8E
accent
#DD4B72
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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