#9A36D1#9A36D1

#9A36D1 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 55.0% C 0.228 H 310.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9A36D1
RGBrgb(154, 54, 209)
HSLhsl(279, 63%, 52%)
HSVhsv(279, 74%, 82%)
CMYKcmyk(26.3%, 74.2%, 0%, 18%)
CIE-LABlab(44.39, 64.89, -61.34)
CIE-LCHlch(44.39, 89.29, 316.61°)
OKLaboklab(54.97% 0.1475 -0.1738)
OKLCHoklch(54.97% 0.228 310.3)
XYZxyz(26.1520, 14.1124, 61.6555)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A36D1 #6DD136
analogous
#4D36D1 #9A36D1 #D136BA
triadic
#9A36D1 #D19A36 #36D19A
tetradic
#9A36D1 #D14D36 #6DD136 #36BAD1
square
#9A36D1 #D14D36 #6DD136 #36BAD1
split-complementary
#9A36D1 #BAD136 #36D14D
monochromatic
#531A72 #7726A4 #9A36D1 #B368DC #CC9AE8

Accessibility & contrast

On white

5.49
#9A36D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9A36D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A36D1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A36D1#FFFFFF#000000##FFFFFF
##9A36D11.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#106ACE
Tritanopia (blue-blind)
#925A81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a36d1;
/* rgb */ color: rgb(154, 54, 209);
/* oklch */ color: oklch(55.0% 0.228 310.3);
Tailwind
colors: {
  custom: {
    50: '#bd77e0',
    500: '#9a36d1',
    950: '#000000',
  },
}
SCSS
$custom: #9a36d1;
$custom-light: #bd77e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a36d1",
  "rgb": {
    "r": 154,
    "g": 54,
    "b": 209
  },
  "hsl": {
    "h": 278.71,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54967,
    "c": 0.22793,
    "h": 310.3
  },
  "luminance": 0.14112
}

Semantic roles & 50–950 ramp

primary
#9A36D1
secondary
#A8D38F
accent
#E6427C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A36D1

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

Preview Lab → · Contrast checker → · Palette generator →

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