#7D37A9#7D37A9

#7D37A9 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.179 H 309.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7D37A9
RGBrgb(125, 55, 169)
HSLhsl(277, 51%, 44%)
HSVhsv(277, 67%, 66%)
CMYKcmyk(26%, 67.5%, 0%, 33.7%)
CIE-LABlab(37.77, 49.88, -48.80)
CIE-LCHlch(37.77, 69.77, 315.63°)
OKLaboklab(48.53% 0.1136 -0.1379)
OKLCHoklch(48.53% 0.179 309.5)
XYZxyz(16.9837, 9.9572, 38.5557)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37A9 #63A937
analogous
#4437A9 #7D37A9 #A9379C
triadic
#7D37A9 #A97D37 #37A97D
tetradic
#7D37A9 #A94437 #63A937 #379CA9
square
#7D37A9 #A94437 #63A937 #379CA9
split-complementary
#7D37A9 #9CA937 #37A944
monochromatic
#39194D #5B287B #7D37A9 #9C55C8 #B784D7

Accessibility & contrast

On white

7.02
#7D37A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7D37A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D37A9
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37A9#FFFFFF#000000##FFFFFF
##7D37A91.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#245AA6
Tritanopia (blue-blind)
#774F6B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d37a9;
/* rgb */ color: rgb(125, 55, 169);
/* oklch */ color: oklch(48.5% 0.179 309.5);
Tailwind
colors: {
  custom: {
    50: '#a673c3',
    500: '#7d37a9',
    950: '#000000',
  },
}
SCSS
$custom: #7d37a9;
$custom-light: #a673c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37a9",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 276.842,
    "s": 50.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48532,
    "c": 0.1787,
    "h": 309.5
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

primary
#7D37A9
secondary
#96C07B
accent
#DA4D84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D37A9

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

Preview Lab → · Contrast checker → · Palette generator →

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