#9A37CC#9A37CC

#9A37CC is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.7% C 0.222 H 311.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9A37CC
RGBrgb(154, 55, 204)
HSLhsl(280, 59%, 51%)
HSVhsv(280, 73%, 80%)
CMYKcmyk(24.5%, 73%, 0%, 20%)
CIE-LABlab(44.18, 63.46, -58.80)
CIE-LCHlch(44.18, 86.52, 317.19°)
OKLaboklab(54.71% 0.1473 -0.1663)
OKLCHoklch(54.71% 0.222 311.5)
XYZxyz(25.5897, 13.9627, 58.4621)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A37CC #69CC37
analogous
#4F37CC #9A37CC #CC37B3
triadic
#9A37CC #CC9A37 #37CC9A
tetradic
#9A37CC #CC4F37 #69CC37 #37B3CC
square
#9A37CC #CC4F37 #69CC37 #37B3CC
split-complementary
#9A37CC #B3CC37 #37CC4F
monochromatic
#521C6D #76289E #9A37CC #B368D8 #CB99E5

Accessibility & contrast

On white

5.54
#9A37CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9A37CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A37CC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A37CC#FFFFFF#000000##FFFFFF
##9A37CC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#1F6AC9
Tritanopia (blue-blind)
#94597F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a37cc;
/* rgb */ color: rgb(154, 55, 204);
/* oklch */ color: oklch(54.7% 0.222 311.5);
Tailwind
colors: {
  custom: {
    50: '#bc77dc',
    500: '#9a37cc',
    950: '#000000',
  },
}
SCSS
$custom: #9a37cc;
$custom-light: #bc77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a37cc",
  "rgb": {
    "r": 154,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 279.866,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54706,
    "c": 0.22222,
    "h": 311.5
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#9A37CC
secondary
#A5D08E
accent
#E3457A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A37CC

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

Preview Lab → · Contrast checker → · Palette generator →

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