#7A36B8#7A36B8

#7A36B8 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.195 H 303.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7A36B8
RGBrgb(122, 54, 184)
HSLhsl(271, 55%, 47%)
HSVhsv(271, 71%, 72%)
CMYKcmyk(33.7%, 70.7%, 0%, 27.8%)
CIE-LABlab(38.26, 53.21, -56.91)
CIE-LCHlch(38.26, 77.91, 313.08°)
OKLaboklab(49.14% 0.1088 -0.1619)
OKLCHoklch(49.14% 0.195 303.9)
XYZxyz(17.9949, 10.2366, 46.3660)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A36B8 #74B836
analogous
#3936B8 #7A36B8 #B836B5
triadic
#7A36B8 #B87A36 #36B87A
tetradic
#7A36B8 #B83936 #74B836 #36B5B8
square
#7A36B8 #B83936 #74B836 #36B5B8
split-complementary
#7A36B8 #B5B836 #36B839
monochromatic
#3B1A59 #5B2889 #7A36B8 #985CCF #B68BDD

Accessibility & contrast

On white

6.89
#7A36B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7A36B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A36B8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A36B8#FFFFFF#000000##FFFFFF
##7A36B81.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#6E5573
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a36b8;
/* rgb */ color: rgb(122, 54, 184);
/* oklch */ color: oklch(49.1% 0.195 303.9);
Tailwind
colors: {
  custom: {
    50: '#a673ce',
    500: '#7a36b8',
    950: '#000000',
  },
}
SCSS
$custom: #7a36b8;
$custom-light: #a673ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7a36b8",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 271.385,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49139,
    "c": 0.19502,
    "h": 303.9
  },
  "luminance": 0.10237
}

Semantic roles & 50–950 ramp

primary
#7A36B8
secondary
#A3C782
accent
#DE4A90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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