#9F36A2#9F36A2

#9F36A2 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.188 H 326.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9F36A2
RGBrgb(159, 54, 162)
HSLhsl(298, 50%, 42%)
HSVhsv(298, 67%, 64%)
CMYKcmyk(1.9%, 66.7%, 0%, 36.5%)
CIE-LABlab(42.18, 56.84, -37.27)
CIE-LCHlch(42.18, 67.97, 326.75°)
OKLaboklab(52.6% 0.1571 -0.1032)
OKLCHoklch(52.6% 0.188 326.7)
XYZxyz(22.1384, 12.6193, 35.4451)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36A2 #39A236
analogous
#6936A2 #9F36A2 #A2366F
triadic
#9F36A2 #A29F36 #36A29F
tetradic
#9F36A2 #A26936 #39A236 #366FA2
square
#9F36A2 #A26936 #39A236 #366FA2
split-complementary
#9F36A2 #6FA236 #36A269
monochromatic
#451746 #722774 #9F36A2 #C250C5 #D27ED4

Accessibility & contrast

On white

5.96
#9F36A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9F36A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36A2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36A2#FFFFFF#000000##FFFFFF
##9F36A21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245BA5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#A34667
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f36a2;
/* rgb */ color: rgb(159, 54, 162);
/* oklch */ color: oklch(52.6% 0.188 326.7);
Tailwind
colors: {
  custom: {
    50: '#bf76be',
    500: '#9f36a2',
    950: '#000000',
  },
}
SCSS
$custom: #9f36a2;
$custom-light: #bf76be;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36a2",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 298.333,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.18797,
    "h": 326.7
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#9F36A2
secondary
#78BD77
accent
#DA4E52
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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