#9F36B2#9F36B2

#9F36B2 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.202 H 321.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9F36B2
RGBrgb(159, 54, 178)
HSLhsl(291, 53%, 45%)
HSVhsv(291, 70%, 70%)
CMYKcmyk(10.7%, 69.7%, 0%, 30.2%)
CIE-LABlab(43.10, 59.75, -45.31)
CIE-LCHlch(43.10, 74.99, 322.83°)
OKLaboklab(53.55% 0.157 -0.1267)
OKLCHoklch(53.55% 0.202 321.1)
XYZxyz(23.6522, 13.2249, 43.4177)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36B2 #49B236
analogous
#6136B2 #9F36B2 #B23687
triadic
#9F36B2 #B29F36 #36B29F
tetradic
#9F36B2 #B26136 #49B236 #3687B2
square
#9F36B2 #B26136 #49B236 #3687B2
split-complementary
#9F36B2 #87B236 #36B261
monochromatic
#4B1A54 #752883 #9F36B2 #BB59CD #CE88DB

Accessibility & contrast

On white

5.76
#9F36B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9F36B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36B2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36B2#FFFFFF#000000##FFFFFF
##9F36B21.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015EB6
Deuteranopia (green-blind)
#446AAF
Tritanopia (blue-blind)
#A04C70
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f36b2;
/* rgb */ color: rgb(159, 54, 178);
/* oklch */ color: oklch(53.6% 0.202 321.1);
Tailwind
colors: {
  custom: {
    50: '#bf76ca',
    500: '#9f36b2',
    950: '#000000',
  },
}
SCSS
$custom: #9f36b2;
$custom-light: #bf76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36b2",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 290.806,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53552,
    "c": 0.20173,
    "h": 321.1
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#9F36B2
secondary
#8AC57F
accent
#DD4B61
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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