#7A36BE#7A36BE

#7A36BE is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.201 H 302.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7A36BE
RGBrgb(122, 54, 190)
HSLhsl(270, 56%, 48%)
HSVhsv(270, 72%, 75%)
CMYKcmyk(35.8%, 71.6%, 0%, 25.5%)
CIE-LABlab(38.71, 54.64, -59.71)
CIE-LCHlch(38.71, 80.94, 312.47°)
OKLaboklab(49.6% 0.1077 -0.1701)
OKLCHoklch(49.6% 0.201 302.3)
XYZxyz(18.6373, 10.4936, 49.7488)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A36BE #7ABE36
analogous
#3636BE #7A36BE #BE36BE
triadic
#7A36BE #BE7A36 #36BE7A
tetradic
#7A36BE #BE3636 #7ABE36 #36BEBE
square
#7A36BE #BE3636 #7ABE36 #36BEBE
split-complementary
#7A36BE #BEBE36 #36BE36
monochromatic
#3D1B5F #5B288E #7A36BE #9960D2 #B78FDF

Accessibility & contrast

On white

6.78
#7A36BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7A36BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A36BE
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A36BE#FFFFFF#000000##FFFFFF
##7A36BE1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#6C5777
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a36be;
/* rgb */ color: rgb(122, 54, 190);
/* oklch */ color: oklch(49.6% 0.201 302.3);
Tailwind
colors: {
  custom: {
    50: '#a673d2',
    500: '#7a36be',
    950: '#000000',
  },
}
SCSS
$custom: #7a36be;
$custom-light: #a673d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a36be",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 270,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.20134,
    "h": 302.3
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#7A36BE
secondary
#A8CA86
accent
#DF4994
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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