#7A36C1#7A36C1

#7A36C1 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.204 H 301.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7A36C1
RGBrgb(122, 54, 193)
HSLhsl(269, 56%, 48%)
HSVhsv(269, 72%, 76%)
CMYKcmyk(36.8%, 72%, 0%, 24.3%)
CIE-LABlab(38.94, 55.37, -61.09)
CIE-LCHlch(38.94, 82.45, 312.19°)
OKLaboklab(49.84% 0.1072 -0.1742)
OKLCHoklch(49.84% 0.205 301.6)
XYZxyz(18.9685, 10.6261, 51.4934)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A36C1 #7DC136
analogous
#3637C1 #7A36C1 #BF36C1
triadic
#7A36C1 #C17A36 #36C17A
tetradic
#7A36C1 #C13637 #7DC136 #36C1BF
square
#7A36C1 #C13637 #7DC136 #36C1BF
split-complementary
#7A36C1 #C1BF36 #37C136
monochromatic
#3E1B61 #5C2991 #7A36C1 #9961D3 #B891E0

Accessibility & contrast

On white

6.72
#7A36C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7A36C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A36C1
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A36C1#FFFFFF#000000##FFFFFF
##7A36C11.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#6B5878
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a36c1;
/* rgb */ color: rgb(122, 54, 193);
/* oklch */ color: oklch(49.8% 0.204 301.6);
Tailwind
colors: {
  custom: {
    50: '#a673d5',
    500: '#7a36c1',
    950: '#000000',
  },
}
SCSS
$custom: #7a36c1;
$custom-light: #a673d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a36c1",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 269.353,
    "s": 56.275,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49835,
    "c": 0.2045,
    "h": 301.6
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

primary
#7A36C1
secondary
#AACB88
accent
#E04896
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A36C1

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

Preview Lab → · Contrast checker → · Palette generator →

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