#7D37C3#7D37C3

#7D37C3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.206 H 302.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7D37C3
RGBrgb(125, 55, 195)
HSLhsl(270, 56%, 49%)
HSVhsv(270, 72%, 76%)
CMYKcmyk(35.9%, 71.8%, 0%, 23.5%)
CIE-LABlab(39.63, 55.95, -61.12)
CIE-LCHlch(39.63, 82.86, 312.47°)
OKLaboklab(50.46% 0.11 -0.1741)
OKLCHoklch(50.46% 0.206 302.3)
XYZxyz(19.6716, 11.0324, 52.7123)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37C3 #7DC337
analogous
#3737C3 #7D37C3 #C337C3
triadic
#7D37C3 #C37D37 #37C37D
tetradic
#7D37C3 #C33737 #7DC337 #37C3C3
square
#7D37C3 #C33737 #7DC337 #37C3C3
split-complementary
#7D37C3 #C3C337 #37C337
monochromatic
#401C64 #5E2A93 #7D37C3 #9C64D3 #BA94E1

Accessibility & contrast

On white

6.55
#7D37C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7D37C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D37C3
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37C3#FFFFFF#000000##FFFFFF
##7D37C31.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#6E597A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d37c3;
/* rgb */ color: rgb(125, 55, 195);
/* oklch */ color: oklch(50.5% 0.206 302.3);
Tailwind
colors: {
  custom: {
    50: '#a874d6',
    500: '#7d37c3',
    950: '#000000',
  },
}
SCSS
$custom: #7d37c3;
$custom-light: #a874d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37c3",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 270,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.20599,
    "h": 302.3
  },
  "luminance": 0.11032
}

Semantic roles & 50–950 ramp

primary
#7D37C3
secondary
#ABCC8A
accent
#DF4994
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D37C3

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

Preview Lab → · Contrast checker → · Palette generator →

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