#9F3BC1#9F3BC1

#9F3BC1 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.209 H 316.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9F3BC1
RGBrgb(159, 59, 193)
HSLhsl(285, 53%, 49%)
HSVhsv(285, 69%, 76%)
CMYKcmyk(17.6%, 69.4%, 0%, 24.3%)
CIE-LABlab(44.73, 60.65, -51.49)
CIE-LCHlch(44.73, 79.56, 319.67°)
OKLaboklab(55.01% 0.1509 -0.1448)
OKLCHoklch(55.01% 0.209 316.2)
XYZxyz(25.4862, 14.3501, 51.8691)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BC1 #5DC13B
analogous
#5C3BC1 #9F3BC1 #C13BA0
triadic
#9F3BC1 #C19F3B #3BC19F
tetradic
#9F3BC1 #C15C3B #5DC13B #3BA0C1
square
#9F3BC1 #C15C3B #5DC13B #3BA0C1
split-complementary
#9F3BC1 #A0C13B #3BC15C
monochromatic
#521E63 #782D92 #9F3BC1 #B668D1 #CD97DF

Accessibility & contrast

On white

5.43
#9F3BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9F3BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BC1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BC1#FFFFFF#000000##FFFFFF
##9F3BC11.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#3B6DBE
Tritanopia (blue-blind)
#9D567A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f3bc1;
/* rgb */ color: rgb(159, 59, 193);
/* oklch */ color: oklch(55.0% 0.209 316.2);
Tailwind
colors: {
  custom: {
    50: '#bf79d4',
    500: '#9f3bc1',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bc1;
$custom-light: #bf79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bc1",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 284.776,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55014,
    "c": 0.20911,
    "h": 316.2
  },
  "luminance": 0.14349
}

Semantic roles & 50–950 ramp

primary
#9F3BC1
secondary
#9DCB8D
accent
#DD4B70
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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