#7D37C5#7D37C5

#7D37C5 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.208 H 301.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7D37C5
RGBrgb(125, 55, 197)
HSLhsl(270, 56%, 49%)
HSVhsv(270, 72%, 77%)
CMYKcmyk(36.5%, 72.1%, 0%, 22.7%)
CIE-LABlab(39.79, 56.43, -62.04)
CIE-LCHlch(39.79, 83.86, 312.29°)
OKLaboklab(50.61% 0.1097 -0.1768)
OKLCHoklch(50.61% 0.208 301.8)
XYZxyz(19.8993, 11.1235, 53.9112)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37C5 #7FC537
analogous
#3738C5 #7D37C5 #C437C5
triadic
#7D37C5 #C57D37 #37C57D
tetradic
#7D37C5 #C53738 #7FC537 #37C5C4
square
#7D37C5 #C53738 #7FC537 #37C5C4
split-complementary
#7D37C5 #C5C437 #38C537
monochromatic
#401C65 #5F2A95 #7D37C5 #9C65D4 #BB95E1

Accessibility & contrast

On white

6.51
#7D37C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D37C5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37C5#FFFFFF#000000##FFFFFF
##7D37C51.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#6E5A7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d37c5;
/* rgb */ color: rgb(125, 55, 197);
/* oklch */ color: oklch(50.6% 0.208 301.8);
Tailwind
colors: {
  custom: {
    50: '#a974d8',
    500: '#7d37c5',
    950: '#000000',
  },
}
SCSS
$custom: #7d37c5;
$custom-light: #a974d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37c5",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 269.577,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50612,
    "c": 0.20808,
    "h": 301.8
  },
  "luminance": 0.11124
}

Semantic roles & 50–950 ramp

primary
#7D37C5
secondary
#ACCD8B
accent
#E04895
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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