#7D37AF#7D37AF

#7D37AF is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.185 H 307.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7D37AF
RGBrgb(125, 55, 175)
HSLhsl(275, 52%, 45%)
HSVhsv(275, 69%, 69%)
CMYKcmyk(28.6%, 68.6%, 0%, 31.4%)
CIE-LABlab(38.18, 51.25, -51.70)
CIE-LCHlch(38.18, 72.80, 314.75°)
OKLaboklab(48.96% 0.113 -0.1465)
OKLCHoklch(48.96% 0.185 307.7)
XYZxyz(17.5599, 10.1877, 41.5905)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37AF #69AF37
analogous
#4137AF #7D37AF #AF37A5
triadic
#7D37AF #AF7D37 #37AF7D
tetradic
#7D37AF #AF4137 #69AF37 #37A5AF
square
#7D37AF #AF4137 #69AF37 #37A5AF
split-complementary
#7D37AF #A5AF37 #37AF41
monochromatic
#3A1A52 #5C2880 #7D37AF #9B59CB #B787D9

Accessibility & contrast

On white

6.91
#7D37AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7D37AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D37AF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37AF#FFFFFF#000000##FFFFFF
##7D37AF1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#1A5BAC
Tritanopia (blue-blind)
#75516F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d37af;
/* rgb */ color: rgb(125, 55, 175);
/* oklch */ color: oklch(49.0% 0.185 307.7);
Tailwind
colors: {
  custom: {
    50: '#a773c8',
    500: '#7d37af',
    950: '#000000',
  },
}
SCSS
$custom: #7d37af;
$custom-light: #a773c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37af",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 275,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48958,
    "c": 0.18501,
    "h": 307.7
  },
  "luminance": 0.10187
}

Semantic roles & 50–950 ramp

primary
#7D37AF
secondary
#9BC37F
accent
#DC4C88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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