#7D37C7#7D37C7

#7D37C7 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.210 H 301.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7D37C7
RGBrgb(125, 55, 199)
HSLhsl(269, 57%, 50%)
HSVhsv(269, 72%, 78%)
CMYKcmyk(37.2%, 72.4%, 0%, 22%)
CIE-LABlab(39.94, 56.91, -62.95)
CIE-LCHlch(39.94, 84.86, 312.11°)
OKLaboklab(50.77% 0.1093 -0.1795)
OKLCHoklch(50.77% 0.21 301.3)
XYZxyz(20.1299, 11.2158, 55.1261)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37C7 #81C737
analogous
#3739C7 #7D37C7 #C537C7
triadic
#7D37C7 #C77D37 #37C77D
tetradic
#7D37C7 #C73739 #81C737 #37C7C5
square
#7D37C7 #C73739 #81C737 #37C7C5
split-complementary
#7D37C7 #C7C537 #39C737
monochromatic
#411C67 #5F2A97 #7D37C7 #9C66D5 #BB96E2

Accessibility & contrast

On white

6.48
#7D37C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7D37C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D37C7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37C7#FFFFFF#000000##FFFFFF
##7D37C71.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#6D5B7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d37c7;
/* rgb */ color: rgb(125, 55, 199);
/* oklch */ color: oklch(50.8% 0.210 301.3);
Tailwind
colors: {
  custom: {
    50: '#a974d9',
    500: '#7d37c7',
    950: '#000000',
  },
}
SCSS
$custom: #7d37c7;
$custom-light: #a974d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37c7",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 269.167,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50769,
    "c": 0.21017,
    "h": 301.3
  },
  "luminance": 0.11216
}

Semantic roles & 50–950 ramp

primary
#7D37C7
secondary
#AECD8C
accent
#E04896
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D37C7

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

Preview Lab → · Contrast checker → · Palette generator →

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