#9A36CD#9A36CD

#9A36CD is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.7% C 0.224 H 311.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9A36CD
RGBrgb(154, 54, 205)
HSLhsl(280, 60%, 51%)
HSVhsv(280, 74%, 80%)
CMYKcmyk(24.9%, 73.7%, 0%, 19.6%)
CIE-LABlab(44.11, 64.06, -59.48)
CIE-LCHlch(44.11, 87.42, 317.12°)
OKLaboklab(54.68% 0.1481 -0.1683)
OKLCHoklch(54.68% 0.224 311.3)
XYZxyz(25.6630, 13.9168, 59.0801)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A36CD #69CD36
analogous
#4E36CD #9A36CD #CD36B4
triadic
#9A36CD #CD9A36 #36CD9A
tetradic
#9A36CD #CD4E36 #69CD36 #36B4CD
square
#9A36CD #CD4E36 #69CD36 #36B4CD
split-complementary
#9A36CD #B4CD36 #36CD4E
monochromatic
#521B6D #76279E #9A36CD #B367D9 #CB98E5

Accessibility & contrast

On white

5.55
#9A36CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9A36CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A36CD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A36CD#FFFFFF#000000##FFFFFF
##9A36CD1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a36cd;
/* rgb */ color: rgb(154, 54, 205);
/* oklch */ color: oklch(54.7% 0.224 311.3);
Tailwind
colors: {
  custom: {
    50: '#bd77dd',
    500: '#9a36cd',
    950: '#000000',
  },
}
SCSS
$custom: #9a36cd;
$custom-light: #bd77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a36cd",
  "rgb": {
    "r": 154,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 279.735,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54681,
    "c": 0.22423,
    "h": 311.3
  },
  "luminance": 0.13916
}

Semantic roles & 50–950 ramp

primary
#9A36CD
secondary
#A5D18E
accent
#E3447A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A36CD

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

Preview Lab → · Contrast checker → · Palette generator →

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