#7A36C5#7A36C5

#7A36C5 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.2% C 0.209 H 300.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7A36C5
RGBrgb(122, 54, 197)
HSLhsl(269, 57%, 49%)
HSVhsv(269, 73%, 77%)
CMYKcmyk(38.1%, 72.6%, 0%, 22.7%)
CIE-LABlab(39.25, 56.33, -62.92)
CIE-LCHlch(39.25, 84.46, 311.84°)
OKLaboklab(50.15% 0.1064 -0.1795)
OKLCHoklch(50.15% 0.209 300.6)
XYZxyz(19.4208, 10.8070, 53.8753)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A36C5 #81C536
analogous
#363AC5 #7A36C5 #C136C5
triadic
#7A36C5 #C57A36 #36C57A
tetradic
#7A36C5 #C5363A #81C536 #36C5C1
square
#7A36C5 #C5363A #81C536 #36C5C1
split-complementary
#7A36C5 #C5C136 #3AC536
monochromatic
#3F1C65 #5C2995 #7A36C5 #9964D4 #B994E2

Accessibility & contrast

On white

6.64
#7A36C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7A36C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A36C5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A36C5#FFFFFF#000000##FFFFFF
##7A36C51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#695A7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a36c5;
/* rgb */ color: rgb(122, 54, 197);
/* oklch */ color: oklch(50.2% 0.209 300.6);
Tailwind
colors: {
  custom: {
    50: '#a773d8',
    500: '#7a36c5',
    950: '#000000',
  },
}
SCSS
$custom: #7a36c5;
$custom-light: #a773d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a36c5",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 268.531,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50151,
    "c": 0.2087,
    "h": 300.6
  },
  "luminance": 0.10807
}

Semantic roles & 50–950 ramp

primary
#7A36C5
secondary
#ADCD8A
accent
#E04898
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A36C5

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

Preview Lab → · Contrast checker → · Palette generator →

#7A36C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva