#7E36BA#7E36BA

#7E36BA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.8% C 0.198 H 305.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7E36BA
RGBrgb(126, 54, 186)
HSLhsl(273, 55%, 47%)
HSVhsv(273, 71%, 73%)
CMYKcmyk(32.3%, 71%, 0%, 27.1%)
CIE-LABlab(38.93, 54.47, -56.98)
CIE-LCHlch(38.93, 78.83, 313.71°)
OKLaboklab(49.77% 0.1139 -0.1619)
OKLCHoklch(49.77% 0.198 305.1)
XYZxyz(18.7843, 10.6192, 47.5050)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E36BA #72BA36
analogous
#3C36BA #7E36BA #BA36B4
triadic
#7E36BA #BA7E36 #36BA7E
tetradic
#7E36BA #BA3C36 #72BA36 #36B4BA
square
#7E36BA #BA3C36 #72BA36 #36B4BA
split-complementary
#7E36BA #B4BA36 #36BA3C
monochromatic
#3E1A5B #5E288B #7E36BA #9C5DD0 #B98DDE

Accessibility & contrast

On white

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

On black

3.12
#7E36BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E36BA#FFFFFF#000000##FFFFFF
##7E36BA1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#735574
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e36ba;
/* rgb */ color: rgb(126, 54, 186);
/* oklch */ color: oklch(49.8% 0.198 305.1);
Tailwind
colors: {
  custom: {
    50: '#a873d0',
    500: '#7e36ba',
    950: '#000000',
  },
}
SCSS
$custom: #7e36ba;
$custom-light: #a873d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e36ba",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 272.727,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49773,
    "c": 0.19802,
    "h": 305.1
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

primary
#7E36BA
secondary
#A3C884
accent
#DE498D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7E36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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