#7A37B8#7A37B8

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

Color values

HEX#7A37B8
RGBrgb(122, 55, 184)
HSLhsl(271, 54%, 47%)
HSVhsv(271, 70%, 72%)
CMYKcmyk(33.7%, 70.1%, 0%, 27.8%)
CIE-LABlab(38.43, 52.74, -56.64)
CIE-LCHlch(38.43, 77.40, 312.96°)
OKLaboklab(49.26% 0.1077 -0.1611)
OKLCHoklch(49.26% 0.194 303.8)
XYZxyz(18.0420, 10.3307, 46.3816)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A37B8 #75B837
analogous
#3A37B8 #7A37B8 #B837B6
triadic
#7A37B8 #B87A37 #37B87A
tetradic
#7A37B8 #B83A37 #75B837 #37B6B8
square
#7A37B8 #B83A37 #75B837 #37B6B8
split-complementary
#7A37B8 #B6B837 #37B83A
monochromatic
#3C1B5A #5B2989 #7A37B8 #985DCF #B68DDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A37B8#FFFFFF#000000##FFFFFF
##7A37B81.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#6E5573
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a37b8;
/* rgb */ color: rgb(122, 55, 184);
/* oklch */ color: oklch(49.3% 0.194 303.8);
Tailwind
colors: {
  custom: {
    50: '#a573ce',
    500: '#7a37b8',
    950: '#000000',
  },
}
SCSS
$custom: #7a37b8;
$custom-light: #a573ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7a37b8",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 271.163,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49257,
    "c": 0.19379,
    "h": 303.8
  },
  "luminance": 0.10331
}

Semantic roles & 50–950 ramp

primary
#7A37B8
secondary
#A4C784
accent
#DD4A91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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