#9A37CD#9A37CD

#9A37CD is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.8% C 0.223 H 311.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9A37CD
RGBrgb(154, 55, 205)
HSLhsl(280, 60%, 51%)
HSVhsv(280, 73%, 80%)
CMYKcmyk(24.9%, 73.2%, 0%, 19.6%)
CIE-LABlab(44.25, 63.67, -59.26)
CIE-LCHlch(44.25, 86.98, 317.05°)
OKLaboklab(54.78% 0.1472 -0.1677)
OKLCHoklch(54.78% 0.223 311.3)
XYZxyz(25.7100, 14.0108, 59.0958)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A37CD #6ACD37
analogous
#4F37CD #9A37CD #CD37B5
triadic
#9A37CD #CD9A37 #37CD9A
tetradic
#9A37CD #CD4F37 #6ACD37 #37B5CD
square
#9A37CD #CD4F37 #6ACD37 #37B5CD
split-complementary
#9A37CD #B5CD37 #37CD4F
monochromatic
#521C6E #76289F #9A37CD #B368D9 #CB99E5

Accessibility & contrast

On white

5.52
#9A37CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9A37CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A37CD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A37CD#FFFFFF#000000##FFFFFF
##9A37CD1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#1D6ACA
Tritanopia (blue-blind)
#93597F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a37cd;
/* rgb */ color: rgb(154, 55, 205);
/* oklch */ color: oklch(54.8% 0.223 311.3);
Tailwind
colors: {
  custom: {
    50: '#bc77dd',
    500: '#9a37cd',
    950: '#000000',
  },
}
SCSS
$custom: #9a37cd;
$custom-light: #bc77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a37cd",
  "rgb": {
    "r": 154,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 279.6,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54776,
    "c": 0.22315,
    "h": 311.3
  },
  "luminance": 0.1401
}

Semantic roles & 50–950 ramp

primary
#9A37CD
secondary
#A5D18F
accent
#E3457B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A37CD

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

Preview Lab → · Contrast checker → · Palette generator →

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