#7A36C4#7A36C4

#7A36C4 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.208 H 300.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7A36C4
RGBrgb(122, 54, 196)
HSLhsl(269, 57%, 49%)
HSVhsv(269, 72%, 77%)
CMYKcmyk(37.8%, 72.4%, 0%, 23.1%)
CIE-LABlab(39.18, 56.09, -62.47)
CIE-LCHlch(39.18, 83.95, 311.92°)
OKLaboklab(50.07% 0.1066 -0.1782)
OKLCHoklch(50.07% 0.208 300.9)
XYZxyz(19.3066, 10.7613, 53.2738)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A36C4 #80C436
analogous
#3639C4 #7A36C4 #C136C4
triadic
#7A36C4 #C47A36 #36C47A
tetradic
#7A36C4 #C43639 #80C436 #36C4C1
square
#7A36C4 #C43639 #80C436 #36C4C1
split-complementary
#7A36C4 #C4C136 #39C436
monochromatic
#3E1C64 #5C2994 #7A36C4 #9963D4 #B993E1

Accessibility & contrast

On white

6.66
#7A36C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7A36C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A36C4
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A36C4#FFFFFF#000000##FFFFFF
##7A36C41.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#6A597A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a36c4;
/* rgb */ color: rgb(122, 54, 196);
/* oklch */ color: oklch(50.1% 0.208 300.9);
Tailwind
colors: {
  custom: {
    50: '#a773d7',
    500: '#7a36c4',
    950: '#000000',
  },
}
SCSS
$custom: #7a36c4;
$custom-light: #a773d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a36c4",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 268.732,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50072,
    "c": 0.20765,
    "h": 300.9
  },
  "luminance": 0.10761
}

Semantic roles & 50–950 ramp

primary
#7A36C4
secondary
#ACCC89
accent
#E04897
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A36C4

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

Preview Lab → · Contrast checker → · Palette generator →

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