#9A37DE#9A37DE

#9A37DE is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 56.0% C 0.239 H 307.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9A37DE
RGBrgb(154, 55, 222)
HSLhsl(276, 72%, 54%)
HSVhsv(276, 75%, 87%)
CMYKcmyk(30.6%, 75.2%, 0%, 12.9%)
CIE-LABlab(45.46, 67.26, -67.05)
CIE-LCHlch(45.46, 94.97, 315.09°)
OKLaboklab(56.02% 0.1441 -0.1906)
OKLCHoklch(56.02% 0.239 307.1)
XYZxyz(27.8746, 14.8767, 70.4961)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A37DE #7BDE37
analogous
#4737DE #9A37DE #DE37CF
triadic
#9A37DE #DE9A37 #37DE9A
tetradic
#9A37DE #DE4737 #7BDE37 #37CFDE
square
#9A37DE #DE4737 #7BDE37 #37CFDE
split-complementary
#9A37DE #CFDE37 #37DE47
monochromatic
#581685 #7A1FB9 #9A37DE #B56CE7 #CFA0EF

Accessibility & contrast

On white

5.28
#9A37DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A37DE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A37DE#FFFFFF#000000##FFFFFF
##9A37DE1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#8E6089
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a37de;
/* rgb */ color: rgb(154, 55, 222);
/* oklch */ color: oklch(56.0% 0.239 307.1);
Tailwind
colors: {
  custom: {
    50: '#be78e9',
    500: '#9a37de',
    950: '#000000',
  },
}
SCSS
$custom: #9a37de;
$custom-light: #be78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a37de",
  "rgb": {
    "r": 154,
    "g": 55,
    "b": 222
  },
  "hsl": {
    "h": 275.569,
    "s": 71.674,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56018,
    "c": 0.23896,
    "h": 307.1
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

primary
#9A37DE
secondary
#B2DC95
accent
#EE3983
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A37DE

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

Preview Lab → · Contrast checker → · Palette generator →

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