#7D37BC#7D37BC

#7D37BC is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.9% C 0.199 H 304.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7D37BC
RGBrgb(125, 55, 188)
HSLhsl(272, 55%, 48%)
HSVhsv(272, 71%, 74%)
CMYKcmyk(33.5%, 70.7%, 0%, 26.3%)
CIE-LABlab(39.11, 54.29, -57.87)
CIE-LCHlch(39.11, 79.35, 313.17°)
OKLaboklab(49.92% 0.1112 -0.1646)
OKLCHoklch(49.92% 0.199 304)
XYZxyz(18.8987, 10.7232, 48.6414)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37BC #76BC37
analogous
#3A37BC #7D37BC #BC37B9
triadic
#7D37BC #BC7D37 #37BC7D
tetradic
#7D37BC #BC3A37 #76BC37 #37B9BC
square
#7D37BC #BC3A37 #76BC37 #37B9BC
split-complementary
#7D37BC #B9BC37 #37BC3A
monochromatic
#3E1B5D #5E298D #7D37BC #9B60D0 #B98FDE

Accessibility & contrast

On white

6.68
#7D37BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D37BC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37BC#FFFFFF#000000##FFFFFF
##7D37BC1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#715676
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d37bc;
/* rgb */ color: rgb(125, 55, 188);
/* oklch */ color: oklch(49.9% 0.199 304.0);
Tailwind
colors: {
  custom: {
    50: '#a874d1',
    500: '#7d37bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d37bc;
$custom-light: #a874d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37bc",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 271.579,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49918,
    "c": 0.19867,
    "h": 304
  },
  "luminance": 0.10723
}

Semantic roles & 50–950 ramp

primary
#7D37BC
secondary
#A6C986
accent
#DE4A90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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