#9B37DD#9B37DD

#9B37DD is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 56.1% C 0.238 H 307.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9B37DD
RGBrgb(155, 55, 221)
HSLhsl(276, 71%, 54%)
HSVhsv(276, 75%, 87%)
CMYKcmyk(29.9%, 75.1%, 0%, 13.3%)
CIE-LABlab(45.53, 67.22, -66.37)
CIE-LCHlch(45.53, 94.47, 315.37°)
OKLaboklab(56.07% 0.1457 -0.1886)
OKLCHoklch(56.07% 0.238 307.7)
XYZxyz(27.9321, 14.9218, 69.8013)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B37DD #79DD37
analogous
#4837DD #9B37DD #DD37CC
triadic
#9B37DD #DD9B37 #37DD9B
tetradic
#9B37DD #DD4837 #79DD37 #37CCDD
square
#9B37DD #DD4837 #79DD37 #37CCDD
split-complementary
#9B37DD #CCDD37 #37DD48
monochromatic
#581683 #7B1FB8 #9B37DD #B56BE6 #CFA0EF

Accessibility & contrast

On white

5.27
#9B37DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9B37DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B37DD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B37DD#FFFFFF#000000##FFFFFF
##9B37DD1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#906088
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b37dd;
/* rgb */ color: rgb(155, 55, 221);
/* oklch */ color: oklch(56.1% 0.238 307.7);
Tailwind
colors: {
  custom: {
    50: '#be78e9',
    500: '#9b37dd',
    950: '#000000',
  },
}
SCSS
$custom: #9b37dd;
$custom-light: #be78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b37dd",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 221
  },
  "hsl": {
    "h": 276.145,
    "s": 70.94,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56067,
    "c": 0.23827,
    "h": 307.7
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#9B37DD
secondary
#B1DB95
accent
#EE3A82
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B37DD

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

Preview Lab → · Contrast checker → · Palette generator →

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