#7A36C6#7A36C6

#7A36C6 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.210 H 300.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7A36C6
RGBrgb(122, 54, 198)
HSLhsl(268, 57%, 49%)
HSVhsv(268, 73%, 78%)
CMYKcmyk(38.4%, 72.7%, 0%, 22.4%)
CIE-LABlab(39.33, 56.58, -63.38)
CIE-LCHlch(39.33, 84.96, 311.75°)
OKLaboklab(50.23% 0.1062 -0.1809)
OKLCHoklch(50.23% 0.21 300.4)
XYZxyz(19.5357, 10.8530, 54.4807)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A36C6 #82C636
analogous
#363AC6 #7A36C6 #C236C6
triadic
#7A36C6 #C67A36 #36C67A
tetradic
#7A36C6 #C6363A #82C636 #36C6C2
square
#7A36C6 #C6363A #82C636 #36C6C2
split-complementary
#7A36C6 #C6C236 #3AC636
monochromatic
#3F1C66 #5C2996 #7A36C6 #9964D5 #B994E2

Accessibility & contrast

On white

6.62
#7A36C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7A36C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A36C6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A36C6#FFFFFF#000000##FFFFFF
##7A36C61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#695A7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a36c6;
/* rgb */ color: rgb(122, 54, 198);
/* oklch */ color: oklch(50.2% 0.210 300.4);
Tailwind
colors: {
  custom: {
    50: '#a773d8',
    500: '#7a36c6',
    950: '#000000',
  },
}
SCSS
$custom: #7a36c6;
$custom-light: #a773d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a36c6",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 268.333,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50231,
    "c": 0.20976,
    "h": 300.4
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#7A36C6
secondary
#AECD8B
accent
#E04798
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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