#9A37CB#9A37CB

#9A37CB is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.221 H 311.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9A37CB
RGBrgb(154, 55, 203)
HSLhsl(280, 59%, 51%)
HSVhsv(280, 73%, 80%)
CMYKcmyk(24.1%, 72.9%, 0%, 20.4%)
CIE-LABlab(44.11, 63.26, -58.33)
CIE-LCHlch(44.11, 86.05, 317.32°)
OKLaboklab(54.64% 0.1475 -0.165)
OKLCHoklch(54.64% 0.221 311.8)
XYZxyz(25.4701, 13.9149, 57.8325)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A37CB #68CB37
analogous
#5037CB #9A37CB #CB37B2
triadic
#9A37CB #CB9A37 #37CB9A
tetradic
#9A37CB #CB5037 #68CB37 #37B2CB
square
#9A37CB #CB5037 #68CB37 #37B2CB
split-complementary
#9A37CB #B2CB37 #37CB50
monochromatic
#511C6C #76299C #9A37CB #B368D8 #CB98E4

Accessibility & contrast

On white

5.55
#9A37CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9A37CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A37CB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A37CB#FFFFFF#000000##FFFFFF
##9A37CB1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#216AC8
Tritanopia (blue-blind)
#94587E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a37cb;
/* rgb */ color: rgb(154, 55, 203);
/* oklch */ color: oklch(54.6% 0.221 311.8);
Tailwind
colors: {
  custom: {
    50: '#bc77dc',
    500: '#9a37cb',
    950: '#000000',
  },
}
SCSS
$custom: #9a37cb;
$custom-light: #bc77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a37cb",
  "rgb": {
    "r": 154,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 280.135,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54635,
    "c": 0.22129,
    "h": 311.8
  },
  "luminance": 0.13914
}

Semantic roles & 50–950 ramp

primary
#9A37CB
secondary
#A4D08E
accent
#E2467A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A37CB

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

Preview Lab → · Contrast checker → · Palette generator →

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