#7A36BA#7A36BA

#7A36BA is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.197 H 303.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7A36BA
RGBrgb(122, 54, 186)
HSLhsl(271, 55%, 47%)
HSVhsv(271, 71%, 73%)
CMYKcmyk(34.4%, 71%, 0%, 27.1%)
CIE-LABlab(38.41, 53.69, -57.85)
CIE-LCHlch(38.41, 78.92, 312.86°)
OKLaboklab(49.29% 0.1084 -0.1646)
OKLCHoklch(49.29% 0.197 303.4)
XYZxyz(18.2061, 10.3211, 47.4779)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A36BA #76BA36
analogous
#3836BA #7A36BA #BA36B8
triadic
#7A36BA #BA7A36 #36BA7A
tetradic
#7A36BA #BA3836 #76BA36 #36B8BA
square
#7A36BA #BA3836 #76BA36 #36B8BA
split-complementary
#7A36BA #B8BA36 #36BA38
monochromatic
#3C1A5B #5B288B #7A36BA #985DD0 #B68DDE

Accessibility & contrast

On white

6.85
#7A36BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7A36BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A36BA
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A36BA#FFFFFF#000000##FFFFFF
##7A36BA1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#6D5574
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a36ba;
/* rgb */ color: rgb(122, 54, 186);
/* oklch */ color: oklch(49.3% 0.197 303.4);
Tailwind
colors: {
  custom: {
    50: '#a673d0',
    500: '#7a36ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a36ba;
$custom-light: #a673d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a36ba",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 270.909,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49292,
    "c": 0.19712,
    "h": 303.4
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#7A36BA
secondary
#A5C884
accent
#DE4992
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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