#7A36C2#7A36C2

#7A36C2 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.9% C 0.206 H 301.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7A36C2
RGBrgb(122, 54, 194)
HSLhsl(269, 56%, 49%)
HSVhsv(269, 72%, 76%)
CMYKcmyk(37.1%, 72.2%, 0%, 23.9%)
CIE-LABlab(39.02, 55.61, -61.55)
CIE-LCHlch(39.02, 82.95, 312.10°)
OKLaboklab(49.91% 0.107 -0.1755)
OKLCHoklch(49.91% 0.206 301.4)
XYZxyz(19.0804, 10.6708, 52.0829)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A36C2 #7EC236
analogous
#3638C2 #7A36C2 #C036C2
triadic
#7A36C2 #C27A36 #36C27A
tetradic
#7A36C2 #C23638 #7EC236 #36C2C0
square
#7A36C2 #C23638 #7EC236 #36C2C0
split-complementary
#7A36C2 #C2C036 #38C236
monochromatic
#3E1B62 #5C2992 #7A36C2 #9962D3 #B892E1

Accessibility & contrast

On white

6.70
#7A36C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A36C2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A36C2#FFFFFF#000000##FFFFFF
##7A36C21.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#6A5879
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a36c2;
/* rgb */ color: rgb(122, 54, 194);
/* oklch */ color: oklch(49.9% 0.206 301.4);
Tailwind
colors: {
  custom: {
    50: '#a673d5',
    500: '#7a36c2',
    950: '#000000',
  },
}
SCSS
$custom: #7a36c2;
$custom-light: #a673d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a36c2",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 269.143,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49914,
    "c": 0.20555,
    "h": 301.4
  },
  "luminance": 0.10671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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