#7A37BA#7A37BA

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

Color values

HEX#7A37BA
RGBrgb(122, 55, 186)
HSLhsl(271, 54%, 47%)
HSVhsv(271, 70%, 73%)
CMYKcmyk(34.4%, 70.4%, 0%, 27.1%)
CIE-LABlab(38.58, 53.22, -57.58)
CIE-LCHlch(38.58, 78.41, 312.75°)
OKLaboklab(49.41% 0.1074 -0.1638)
OKLCHoklch(49.41% 0.196 303.2)
XYZxyz(18.2531, 10.4151, 47.4936)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A37BA #77BA37
analogous
#3837BA #7A37BA #BA37B9
triadic
#7A37BA #BA7A37 #37BA7A
tetradic
#7A37BA #BA3837 #77BA37 #37B9BA
square
#7A37BA #BA3837 #77BA37 #37B9BA
split-complementary
#7A37BA #B9BA37 #37BA38
monochromatic
#3C1B5C #5B298B #7A37BA #985FD0 #B78EDE

Accessibility & contrast

On white

6.81
#7A37BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7A37BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A37BA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A37BA#FFFFFF#000000##FFFFFF
##7A37BA1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a37ba;
/* rgb */ color: rgb(122, 55, 186);
/* oklch */ color: oklch(49.4% 0.196 303.2);
Tailwind
colors: {
  custom: {
    50: '#a673d0',
    500: '#7a37ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a37ba;
$custom-light: #a673d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a37ba",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 270.687,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49409,
    "c": 0.19591,
    "h": 303.2
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#7A37BA
secondary
#A6C885
accent
#DE4A92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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