#7D37BB#7D37BB

#7D37BB is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.198 H 304.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7D37BB
RGBrgb(125, 55, 187)
HSLhsl(272, 55%, 47%)
HSVhsv(272, 71%, 73%)
CMYKcmyk(33.2%, 70.6%, 0%, 26.7%)
CIE-LABlab(39.04, 54.05, -57.40)
CIE-LCHlch(39.04, 78.85, 313.28°)
OKLaboklab(49.84% 0.1114 -0.1632)
OKLCHoklch(49.84% 0.198 304.3)
XYZxyz(18.7912, 10.6803, 48.0756)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37BB #75BB37
analogous
#3B37BB #7D37BB #BB37B7
triadic
#7D37BB #BB7D37 #37BB7D
tetradic
#7D37BB #BB3B37 #75BB37 #37B7BB
square
#7D37BB #BB3B37 #75BB37 #37B7BB
split-complementary
#7D37BB #B7BB37 #37BB3B
monochromatic
#3E1B5C #5D298C #7D37BB #9B5FD0 #B98EDE

Accessibility & contrast

On white

6.70
#7D37BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7D37BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D37BB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37BB#FFFFFF#000000##FFFFFF
##7D37BB1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#715675
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d37bb;
/* rgb */ color: rgb(125, 55, 187);
/* oklch */ color: oklch(49.8% 0.198 304.3);
Tailwind
colors: {
  custom: {
    50: '#a874d0',
    500: '#7d37bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d37bb;
$custom-light: #a874d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37bb",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 271.818,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49843,
    "c": 0.19762,
    "h": 304.3
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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