#7A36AC#7A36AC

#7A36AC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.2% C 0.182 H 307.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7A36AC
RGBrgb(122, 54, 172)
HSLhsl(275, 52%, 44%)
HSVhsv(275, 69%, 67%)
CMYKcmyk(29.1%, 68.6%, 0%, 32.5%)
CIE-LABlab(37.40, 50.38, -51.20)
CIE-LCHlch(37.40, 71.83, 314.54°)
OKLaboklab(48.25% 0.1104 -0.1451)
OKLCHoklch(48.25% 0.182 307.3)
XYZxyz(16.7900, 9.7547, 40.0201)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A36AC #68AC36
analogous
#3F36AC #7A36AC #AC36A3
triadic
#7A36AC #AC7A36 #36AC7A
tetradic
#7A36AC #AC3F36 #68AC36 #36A3AC
square
#7A36AC #AC3F36 #68AC36 #36A3AC
split-complementary
#7A36AC #A3AC36 #36AC3F
monochromatic
#38194F #59277D #7A36AC #9855CA #B584D8

Accessibility & contrast

On white

7.12
#7A36AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7A36AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A36AC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A36AC#FFFFFF#000000##FFFFFF
##7A36AC1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#1859A9
Tritanopia (blue-blind)
#72506D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a36ac;
/* rgb */ color: rgb(122, 54, 172);
/* oklch */ color: oklch(48.2% 0.182 307.3);
Tailwind
colors: {
  custom: {
    50: '#a572c5',
    500: '#7a36ac',
    950: '#000000',
  },
}
SCSS
$custom: #7a36ac;
$custom-light: #a572c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a36ac",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 274.576,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.18232,
    "h": 307.3
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#7A36AC
secondary
#9AC27C
accent
#DC4C89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A36AC

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

Preview Lab → · Contrast checker → · Palette generator →

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