#9B37A2#9B37A2

#9B37A2 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.1% C 0.185 H 325.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9B37A2
RGBrgb(155, 55, 162)
HSLhsl(296, 49%, 43%)
HSVhsv(296, 66%, 64%)
CMYKcmyk(4.3%, 66%, 0%, 36.5%)
CIE-LABlab(41.71, 55.47, -38.06)
CIE-LCHlch(41.71, 67.27, 325.54°)
OKLaboklab(52.13% 0.1514 -0.1056)
OKLCHoklch(52.13% 0.185 325.1)
XYZxyz(21.4048, 12.3109, 35.4242)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B37A2 #3EA237
analogous
#6637A2 #9B37A2 #A23773
triadic
#9B37A2 #A29B37 #37A29B
tetradic
#9B37A2 #A26637 #3EA237 #3773A2
square
#9B37A2 #A26637 #3EA237 #3773A2
split-complementary
#9B37A2 #73A237 #37A266
monochromatic
#441847 #6F2774 #9B37A2 #BD52C4 #CE80D4

Accessibility & contrast

On white

6.07
#9B37A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9B37A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B37A2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B37A2#FFFFFF#000000##FFFFFF
##9B37A21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#4B679F
Tritanopia (blue-blind)
#9E4768
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b37a2;
/* rgb */ color: rgb(155, 55, 162);
/* oklch */ color: oklch(52.1% 0.185 325.1);
Tailwind
colors: {
  custom: {
    50: '#bc76be',
    500: '#9b37a2',
    950: '#000000',
  },
}
SCSS
$custom: #9b37a2;
$custom-light: #bc76be;
$custom-dark: #000000;
JSON
{
  "hex": "#9b37a2",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 296.075,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52129,
    "c": 0.18458,
    "h": 325.1
  },
  "luminance": 0.1231
}

Semantic roles & 50–950 ramp

primary
#9B37A2
secondary
#7CBD78
accent
#D94F58
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9B37A2

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

Preview Lab → · Contrast checker → · Palette generator →

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