#7D37AD#7D37AD

#7D37AD is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.8% C 0.183 H 308.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7D37AD
RGBrgb(125, 55, 173)
HSLhsl(276, 52%, 45%)
HSVhsv(276, 68%, 68%)
CMYKcmyk(27.7%, 68.2%, 0%, 32.2%)
CIE-LABlab(38.04, 50.79, -50.74)
CIE-LCHlch(38.04, 71.79, 315.03°)
OKLaboklab(48.82% 0.1132 -0.1436)
OKLCHoklch(48.82% 0.183 308.3)
XYZxyz(17.3649, 10.1097, 40.5637)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37AD #67AD37
analogous
#4237AD #7D37AD #AD37A2
triadic
#7D37AD #AD7D37 #37AD7D
tetradic
#7D37AD #AD4237 #67AD37 #37A2AD
square
#7D37AD #AD4237 #67AD37 #37A2AD
split-complementary
#7D37AD #A2AD37 #37AD42
monochromatic
#3A1950 #5B287F #7D37AD #9B57CA #B786D8

Accessibility & contrast

On white

6.95
#7D37AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7D37AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D37AD
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37AD#FFFFFF#000000##FFFFFF
##7D37AD1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#1E5AAA
Tritanopia (blue-blind)
#76506D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d37ad;
/* rgb */ color: rgb(125, 55, 173);
/* oklch */ color: oklch(48.8% 0.183 308.3);
Tailwind
colors: {
  custom: {
    50: '#a773c6',
    500: '#7d37ad',
    950: '#000000',
  },
}
SCSS
$custom: #7d37ad;
$custom-light: #a773c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37ad",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 275.593,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48815,
    "c": 0.18291,
    "h": 308.3
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#7D37AD
secondary
#99C27D
accent
#DB4D87
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D37AD

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

Preview Lab → · Contrast checker → · Palette generator →

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