#9A37DD#9A37DD

#9A37DD is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.9% C 0.238 H 307.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9A37DD
RGBrgb(154, 55, 221)
HSLhsl(276, 71%, 54%)
HSVhsv(276, 75%, 87%)
CMYKcmyk(30.3%, 75.1%, 0%, 13.3%)
CIE-LABlab(45.39, 67.05, -66.60)
CIE-LCHlch(45.39, 94.50, 315.19°)
OKLaboklab(55.94% 0.1443 -0.1893)
OKLCHoklch(55.94% 0.238 307.3)
XYZxyz(27.7410, 14.8232, 69.7924)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A37DD #7ADD37
analogous
#4737DD #9A37DD #DD37CD
triadic
#9A37DD #DD9A37 #37DD9A
tetradic
#9A37DD #DD4737 #7ADD37 #37CDDD
square
#9A37DD #DD4737 #7ADD37 #37CDDD
split-complementary
#9A37DD #CDDD37 #37DD47
monochromatic
#571683 #7A1FB8 #9A37DD #B46BE6 #CFA0EF

Accessibility & contrast

On white

5.30
#9A37DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9A37DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A37DD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A37DD#FFFFFF#000000##FFFFFF
##9A37DD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#8F6088
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a37dd;
/* rgb */ color: rgb(154, 55, 221);
/* oklch */ color: oklch(55.9% 0.238 307.3);
Tailwind
colors: {
  custom: {
    50: '#bd78e9',
    500: '#9a37dd',
    950: '#000000',
  },
}
SCSS
$custom: #9a37dd;
$custom-light: #bd78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a37dd",
  "rgb": {
    "r": 154,
    "g": 55,
    "b": 221
  },
  "hsl": {
    "h": 275.783,
    "s": 70.94,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55943,
    "c": 0.23802,
    "h": 307.3
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A37DD

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

Preview Lab → · Contrast checker → · Palette generator →

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