#7C37BB#7C37BB

#7C37BB is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.7% C 0.197 H 303.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7C37BB
RGBrgb(124, 55, 187)
HSLhsl(271, 55%, 47%)
HSVhsv(271, 71%, 73%)
CMYKcmyk(33.7%, 70.6%, 0%, 26.7%)
CIE-LABlab(38.91, 53.85, -57.62)
CIE-LCHlch(38.91, 78.87, 313.07°)
OKLaboklab(49.72% 0.11 -0.1639)
OKLCHoklch(49.72% 0.197 303.9)
XYZxyz(18.6459, 10.6054, 48.0688)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C37BB #76BB37
analogous
#3A37BB #7C37BB #BB37B8
triadic
#7C37BB #BB7C37 #37BB7C
tetradic
#7C37BB #BB3A37 #76BB37 #37B8BB
square
#7C37BB #BB3A37 #76BB37 #37B8BB
split-complementary
#7C37BB #B8BB37 #37BB3A
monochromatic
#3D1B5C #5D298C #7C37BB #9A5FD0 #B88EDE

Accessibility & contrast

On white

6.73
#7C37BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C37BB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C37BB#FFFFFF#000000##FFFFFF
##7C37BB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#705675
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c37bb;
/* rgb */ color: rgb(124, 55, 187);
/* oklch */ color: oklch(49.7% 0.197 303.9);
Tailwind
colors: {
  custom: {
    50: '#a774d0',
    500: '#7c37bb',
    950: '#000000',
  },
}
SCSS
$custom: #7c37bb;
$custom-light: #a774d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c37bb",
  "rgb": {
    "r": 124,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 271.364,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49723,
    "c": 0.1974,
    "h": 303.9
  },
  "luminance": 0.10605
}

Semantic roles & 50–950 ramp

primary
#7C37BB
secondary
#A5C985
accent
#DE4A91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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