#9B37DA#9B37DA

#9B37DA is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.8% C 0.235 H 308.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9B37DA
RGBrgb(155, 55, 218)
HSLhsl(277, 69%, 54%)
HSVhsv(277, 75%, 85%)
CMYKcmyk(28.9%, 74.8%, 0%, 14.5%)
CIE-LABlab(45.31, 66.58, -65.01)
CIE-LCHlch(45.31, 93.06, 315.69°)
OKLaboklab(55.84% 0.1463 -0.1846)
OKLCHoklch(55.84% 0.235 308.4)
XYZxyz(27.5360, 14.7633, 67.7151)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B37DA #76DA37
analogous
#4937DA #9B37DA #DA37C7
triadic
#9B37DA #DA9B37 #37DA9B
tetradic
#9B37DA #DA4937 #76DA37 #37C7DA
square
#9B37DA #DA4937 #76DA37 #37C7DA
split-complementary
#9B37DA #C7DA37 #37DA49
monochromatic
#57187F #7A21B3 #9B37DA #B56BE4 #CF9EED

Accessibility & contrast

On white

5.31
#9B37DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9B37DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B37DA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B37DA#FFFFFF#000000##FFFFFF
##9B37DA1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#915F87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b37da;
/* rgb */ color: rgb(155, 55, 218);
/* oklch */ color: oklch(55.8% 0.235 308.4);
Tailwind
colors: {
  custom: {
    50: '#be78e6',
    500: '#9b37da',
    950: '#000000',
  },
}
SCSS
$custom: #9b37da;
$custom-light: #be78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b37da",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 276.81,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55844,
    "c": 0.23549,
    "h": 308.4
  },
  "luminance": 0.14763
}

Semantic roles & 50–950 ramp

primary
#9B37DA
secondary
#AED993
accent
#EC3C80
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B37DA

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

Preview Lab → · Contrast checker → · Palette generator →

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