#7D37C0#7D37C0

#7D37C0 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.203 H 303.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7D37C0
RGBrgb(125, 55, 192)
HSLhsl(271, 55%, 48%)
HSVhsv(271, 71%, 75%)
CMYKcmyk(34.9%, 71.4%, 0%, 24.7%)
CIE-LABlab(39.41, 55.24, -59.73)
CIE-LCHlch(39.41, 81.36, 312.76°)
OKLaboklab(50.22% 0.1106 -0.1701)
OKLCHoklch(50.22% 0.203 303)
XYZxyz(19.3358, 10.8981, 50.9438)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37C0 #7AC037
analogous
#3837C0 #7D37C0 #C037BE
triadic
#7D37C0 #C07D37 #37C07D
tetradic
#7D37C0 #C03837 #7AC037 #37BEC0
square
#7D37C0 #C03837 #7AC037 #37BEC0
split-complementary
#7D37C0 #BEC037 #37C038
monochromatic
#3F1C61 #5E2990 #7D37C0 #9B62D2 #BA92E0

Accessibility & contrast

On white

6.60
#7D37C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7D37C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D37C0
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37C0#FFFFFF#000000##FFFFFF
##7D37C01.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#6F5878
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d37c0;
/* rgb */ color: rgb(125, 55, 192);
/* oklch */ color: oklch(50.2% 0.203 303.0);
Tailwind
colors: {
  custom: {
    50: '#a874d4',
    500: '#7d37c0',
    950: '#000000',
  },
}
SCSS
$custom: #7d37c0;
$custom-light: #a874d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37c0",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 270.657,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50224,
    "c": 0.20286,
    "h": 303
  },
  "luminance": 0.10898
}

Semantic roles & 50–950 ramp

primary
#7D37C0
secondary
#A9CB88
accent
#DF4992
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D37C0

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

Preview Lab → · Contrast checker → · Palette generator →

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