#7A36BB#7A36BB

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

Color values

HEX#7A36BB
RGBrgb(122, 54, 187)
HSLhsl(271, 55%, 47%)
HSVhsv(271, 71%, 73%)
CMYKcmyk(34.8%, 71.1%, 0%, 26.7%)
CIE-LABlab(38.49, 53.93, -58.31)
CIE-LCHlch(38.49, 79.42, 312.76°)
OKLaboklab(49.37% 0.1083 -0.166)
OKLCHoklch(49.37% 0.198 303.1)
XYZxyz(18.3128, 10.3638, 48.0397)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A36BB #77BB36
analogous
#3836BB #7A36BB #BB36BA
triadic
#7A36BB #BB7A36 #36BB7A
tetradic
#7A36BB #BB3836 #77BB36 #36BABB
square
#7A36BB #BB3836 #77BB36 #36BABB
split-complementary
#7A36BB #BABB36 #36BB38
monochromatic
#3C1B5C #5B288C #7A36BB #985ED0 #B78DDE

Accessibility & contrast

On white

6.83
#7A36BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7A36BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A36BB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A36BB#FFFFFF#000000##FFFFFF
##7A36BB1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#6D5675
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a36bb;
/* rgb */ color: rgb(122, 54, 187);
/* oklch */ color: oklch(49.4% 0.198 303.1);
Tailwind
colors: {
  custom: {
    50: '#a673d0',
    500: '#7a36bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a36bb;
$custom-light: #a673d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a36bb",
  "rgb": {
    "r": 122,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 270.677,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49369,
    "c": 0.19818,
    "h": 303.1
  },
  "luminance": 0.10364
}

Semantic roles & 50–950 ramp

primary
#7A36BB
secondary
#A6C984
accent
#DF4992
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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