#9A36D7#9A36D7

#9A36D7 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.4% C 0.233 H 308.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9A36D7
RGBrgb(154, 54, 215)
HSLhsl(277, 67%, 53%)
HSVhsv(277, 75%, 84%)
CMYKcmyk(28.4%, 74.9%, 0%, 15.7%)
CIE-LABlab(44.82, 66.15, -64.09)
CIE-LCHlch(44.82, 92.10, 315.91°)
OKLaboklab(55.41% 0.1464 -0.1819)
OKLCHoklch(55.41% 0.233 308.8)
XYZxyz(26.9088, 14.4151, 65.6417)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A36D7 #73D736
analogous
#4936D7 #9A36D7 #D736C4
triadic
#9A36D7 #D79A36 #36D79A
tetradic
#9A36D7 #D74936 #73D736 #36C4D7
square
#9A36D7 #D74936 #73D736 #36C4D7
split-complementary
#9A36D7 #C4D736 #36D749
monochromatic
#55187A #7922AD #9A36D7 #B469E1 #CD9CEB

Accessibility & contrast

On white

5.41
#9A36D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9A36D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A36D7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A36D7#FFFFFF#000000##FFFFFF
##9A36D71.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#915D85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a36d7;
/* rgb */ color: rgb(154, 54, 215);
/* oklch */ color: oklch(55.4% 0.233 308.8);
Tailwind
colors: {
  custom: {
    50: '#bd77e4',
    500: '#9a36d7',
    950: '#000000',
  },
}
SCSS
$custom: #9a36d7;
$custom-light: #bd77e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a36d7",
  "rgb": {
    "r": 154,
    "g": 54,
    "b": 215
  },
  "hsl": {
    "h": 277.267,
    "s": 66.805,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.23348,
    "h": 308.8
  },
  "luminance": 0.14415
}

Semantic roles & 50–950 ramp

primary
#9A36D7
secondary
#ACD792
accent
#EA3E7F
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9A36D7

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

Preview Lab → · Contrast checker → · Palette generator →

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