#7D37A7#7D37A7

#7D37A7 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.177 H 310.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7D37A7
RGBrgb(125, 55, 167)
HSLhsl(278, 50%, 44%)
HSVhsv(278, 67%, 65%)
CMYKcmyk(25.1%, 67.1%, 0%, 34.5%)
CIE-LABlab(37.63, 49.42, -47.82)
CIE-LCHlch(37.63, 68.77, 315.95°)
OKLaboklab(48.39% 0.1138 -0.1351)
OKLCHoklch(48.39% 0.177 310.1)
XYZxyz(16.7973, 9.8827, 37.5744)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37A7 #61A737
analogous
#4537A7 #7D37A7 #A73799
triadic
#7D37A7 #A77D37 #37A77D
tetradic
#7D37A7 #A74537 #61A737 #3799A7
square
#7D37A7 #A74537 #61A737 #3799A7
split-complementary
#7D37A7 #99A737 #37A745
monochromatic
#38194B #5B2879 #7D37A7 #9C54C7 #B782D6

Accessibility & contrast

On white

7.06
#7D37A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7D37A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D37A7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37A7#FFFFFF#000000##FFFFFF
##7D37A71.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#275AA4
Tritanopia (blue-blind)
#774E6A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d37a7;
/* rgb */ color: rgb(125, 55, 167);
/* oklch */ color: oklch(48.4% 0.177 310.1);
Tailwind
colors: {
  custom: {
    50: '#a673c2',
    500: '#7d37a7',
    950: '#000000',
  },
}
SCSS
$custom: #7d37a7;
$custom-light: #a673c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37a7",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 277.5,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48393,
    "c": 0.17661,
    "h": 310.1
  },
  "luminance": 0.09882
}

Semantic roles & 50–950 ramp

primary
#7D37A7
secondary
#94C07A
accent
#DA4E82
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D37A7

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

Preview Lab → · Contrast checker → · Palette generator →

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