#7D37BA#7D37BA

#7D37BA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.8% C 0.197 H 304.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7D37BA
RGBrgb(125, 55, 186)
HSLhsl(272, 54%, 47%)
HSVhsv(272, 70%, 73%)
CMYKcmyk(32.8%, 70.4%, 0%, 27.1%)
CIE-LABlab(38.96, 53.82, -56.93)
CIE-LCHlch(38.96, 78.34, 313.39°)
OKLaboklab(49.77% 0.1115 -0.1618)
OKLCHoklch(49.77% 0.197 304.6)
XYZxyz(18.6846, 10.6376, 47.5138)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37BA #74BA37
analogous
#3B37BA #7D37BA #BA37B6
triadic
#7D37BA #BA7D37 #37BA7D
tetradic
#7D37BA #BA3B37 #74BA37 #37B6BA
square
#7D37BA #BA3B37 #74BA37 #37B6BA
split-complementary
#7D37BA #B6BA37 #37BA3B
monochromatic
#3E1B5C #5D298B #7D37BA #9B5FD0 #B88EDE

Accessibility & contrast

On white

6.71
#7D37BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7D37BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D37BA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37BA#FFFFFF#000000##FFFFFF
##7D37BA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#725675
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d37ba;
/* rgb */ color: rgb(125, 55, 186);
/* oklch */ color: oklch(49.8% 0.197 304.6);
Tailwind
colors: {
  custom: {
    50: '#a874d0',
    500: '#7d37ba',
    950: '#000000',
  },
}
SCSS
$custom: #7d37ba;
$custom-light: #a874d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37ba",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 272.061,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49767,
    "c": 0.19656,
    "h": 304.6
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#7D37BA
secondary
#A4C885
accent
#DE4A8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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