#9A37CE#9A37CE

#9A37CE is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.224 H 311.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9A37CE
RGBrgb(154, 55, 206)
HSLhsl(279, 61%, 51%)
HSVhsv(279, 73%, 81%)
CMYKcmyk(25.2%, 73.3%, 0%, 19.2%)
CIE-LABlab(44.32, 63.88, -59.73)
CIE-LCHlch(44.32, 87.45, 316.92°)
OKLaboklab(54.85% 0.147 -0.1691)
OKLCHoklch(54.85% 0.224 311)
XYZxyz(25.8311, 14.0593, 59.7335)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A37CE #6BCE37
analogous
#4E37CE #9A37CE #CE37B6
triadic
#9A37CE #CE9A37 #37CE9A
tetradic
#9A37CE #CE4E37 #6BCE37 #37B6CE
square
#9A37CE #CE4E37 #6BCE37 #37B6CE
split-complementary
#9A37CE #B6CE37 #37CE4E
monochromatic
#521B6F #7727A0 #9A37CE #B368DA #CC99E6

Accessibility & contrast

On white

5.51
#9A37CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9A37CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A37CE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A37CE#FFFFFF#000000##FFFFFF
##9A37CE1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#1B6ACB
Tritanopia (blue-blind)
#935A80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a37ce;
/* rgb */ color: rgb(154, 55, 206);
/* oklch */ color: oklch(54.8% 0.224 311.0);
Tailwind
colors: {
  custom: {
    50: '#bd77de',
    500: '#9a37ce',
    950: '#000000',
  },
}
SCSS
$custom: #9a37ce;
$custom-light: #bd77de;
$custom-dark: #000000;
JSON
{
  "hex": "#9a37ce",
  "rgb": {
    "r": 154,
    "g": 55,
    "b": 206
  },
  "hsl": {
    "h": 279.338,
    "s": 60.643,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54847,
    "c": 0.22407,
    "h": 311
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

primary
#9A37CE
secondary
#A6D28F
accent
#E4447B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A37CE

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

Preview Lab → · Contrast checker → · Palette generator →

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