#7D37C6#7D37C6

#7D37C6 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.209 H 301.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7D37C6
RGBrgb(125, 55, 198)
HSLhsl(269, 57%, 50%)
HSVhsv(269, 72%, 78%)
CMYKcmyk(36.9%, 72.2%, 0%, 22.4%)
CIE-LABlab(39.86, 56.67, -62.49)
CIE-LCHlch(39.86, 84.36, 312.20°)
OKLaboklab(50.69% 0.1095 -0.1782)
OKLCHoklch(50.69% 0.209 301.6)
XYZxyz(20.0142, 11.1695, 54.5166)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37C6 #80C637
analogous
#3738C6 #7D37C6 #C537C6
triadic
#7D37C6 #C67D37 #37C67D
tetradic
#7D37C6 #C63738 #80C637 #37C6C5
square
#7D37C6 #C63738 #80C637 #37C6C5
split-complementary
#7D37C6 #C6C537 #38C637
monochromatic
#411C66 #5F2A96 #7D37C6 #9C66D4 #BB96E2

Accessibility & contrast

On white

6.49
#7D37C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7D37C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D37C6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37C6#FFFFFF#000000##FFFFFF
##7D37C61.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#6D5A7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d37c6;
/* rgb */ color: rgb(125, 55, 198);
/* oklch */ color: oklch(50.7% 0.209 301.6);
Tailwind
colors: {
  custom: {
    50: '#a974d8',
    500: '#7d37c6',
    950: '#000000',
  },
}
SCSS
$custom: #7d37c6;
$custom-light: #a974d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37c6",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 269.371,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5069,
    "c": 0.20913,
    "h": 301.6
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#7D37C6
secondary
#ADCD8C
accent
#E04895
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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