#7A37B7#7A37B7

#7A37B7 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.2% C 0.193 H 304.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7A37B7
RGBrgb(122, 55, 183)
HSLhsl(271, 54%, 47%)
HSVhsv(271, 70%, 72%)
CMYKcmyk(33.3%, 69.9%, 0%, 28.2%)
CIE-LABlab(38.36, 52.51, -56.17)
CIE-LCHlch(38.36, 76.89, 313.07°)
OKLaboklab(49.18% 0.1079 -0.1597)
OKLCHoklch(49.18% 0.193 304)
XYZxyz(17.9375, 10.2889, 45.8315)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A37B7 #74B737
analogous
#3A37B7 #7A37B7 #B737B4
triadic
#7A37B7 #B77A37 #37B77A
tetradic
#7A37B7 #B73A37 #74B737 #37B4B7
square
#7A37B7 #B73A37 #74B737 #37B4B7
split-complementary
#7A37B7 #B4B737 #37B73A
monochromatic
#3B1B59 #5B2988 #7A37B7 #985DCE #B68CDC

Accessibility & contrast

On white

6.87
#7A37B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A37B7
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A37B7#FFFFFF#000000##FFFFFF
##7A37B71.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a37b7;
/* rgb */ color: rgb(122, 55, 183);
/* oklch */ color: oklch(49.2% 0.193 304.0);
Tailwind
colors: {
  custom: {
    50: '#a573cd',
    500: '#7a37b7',
    950: '#000000',
  },
}
SCSS
$custom: #7a37b7;
$custom-light: #a573cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a37b7",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 271.406,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49182,
    "c": 0.19273,
    "h": 304
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#7A37B7
secondary
#A3C783
accent
#DD4B90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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