#7A36BC#7A36BC

#7A36BC is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.199 H 302.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7A36BC
RGBrgb(122, 54, 188)
HSLhsl(270, 55%, 47%)
HSVhsv(270, 71%, 74%)
CMYKcmyk(35.1%, 71.3%, 0%, 26.3%)
CIE-LABlab(38.56, 54.16, -58.78)
CIE-LCHlch(38.56, 79.93, 312.66°)
OKLaboklab(49.45% 0.1081 -0.1674)
OKLCHoklch(49.45% 0.199 302.9)
XYZxyz(18.4202, 10.4067, 48.6055)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A36BC #78BC36
analogous
#3736BC #7A36BC #BC36BB
triadic
#7A36BC #BC7A36 #36BC7A
tetradic
#7A36BC #BC3736 #78BC36 #36BBBC
square
#7A36BC #BC3736 #78BC36 #36BBBC
split-complementary
#7A36BC #BBBC36 #36BC37
monochromatic
#3C1B5D #5B288C #7A36BC #985ED1 #B78EDF

Accessibility & contrast

On white

6.82
#7A36BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7A36BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A36BC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A36BC#FFFFFF#000000##FFFFFF
##7A36BC1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#6D5675
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a36bc;
/* rgb */ color: rgb(122, 54, 188);
/* oklch */ color: oklch(49.4% 0.199 302.9);
Tailwind
colors: {
  custom: {
    50: '#a673d1',
    500: '#7a36bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a36bc;
$custom-light: #a673d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a36bc",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 270.448,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49446,
    "c": 0.19923,
    "h": 302.9
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#7A36BC
secondary
#A6C985
accent
#DF4993
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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