#7D37C4#7D37C4

#7D37C4 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.207 H 302.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7D37C4
RGBrgb(125, 55, 196)
HSLhsl(270, 56%, 49%)
HSVhsv(270, 72%, 77%)
CMYKcmyk(36.2%, 71.9%, 0%, 23.1%)
CIE-LABlab(39.71, 56.19, -61.58)
CIE-LCHlch(39.71, 83.36, 312.38°)
OKLaboklab(50.53% 0.1098 -0.1755)
OKLCHoklch(50.53% 0.207 302)
XYZxyz(19.7851, 11.0778, 53.3097)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37C4 #7EC437
analogous
#3738C4 #7D37C4 #C437C4
triadic
#7D37C4 #C47D37 #37C47D
tetradic
#7D37C4 #C43738 #7EC437 #37C4C4
square
#7D37C4 #C43738 #7EC437 #37C4C4
split-complementary
#7D37C4 #C4C437 #38C437
monochromatic
#401C64 #5F2A94 #7D37C4 #9C65D4 #BA94E1

Accessibility & contrast

On white

6.53
#7D37C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7D37C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D37C4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37C4#FFFFFF#000000##FFFFFF
##7D37C41.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#6E597A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d37c4;
/* rgb */ color: rgb(125, 55, 196);
/* oklch */ color: oklch(50.5% 0.207 302.0);
Tailwind
colors: {
  custom: {
    50: '#a874d7',
    500: '#7d37c4',
    950: '#000000',
  },
}
SCSS
$custom: #7d37c4;
$custom-light: #a874d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37c4",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 269.787,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50533,
    "c": 0.20704,
    "h": 302
  },
  "luminance": 0.11078
}

Semantic roles & 50–950 ramp

primary
#7D37C4
secondary
#ACCC8B
accent
#DF4894
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D37C4

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

Preview Lab → · Contrast checker → · Palette generator →

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