#7D37C1#7D37C1

#7D37C1 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.204 H 302.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7D37C1
RGBrgb(125, 55, 193)
HSLhsl(270, 56%, 49%)
HSVhsv(270, 72%, 76%)
CMYKcmyk(35.2%, 71.5%, 0%, 24.3%)
CIE-LABlab(39.48, 55.47, -60.20)
CIE-LCHlch(39.48, 81.86, 312.66°)
OKLaboklab(50.3% 0.1104 -0.1714)
OKLCHoklch(50.3% 0.204 302.8)
XYZxyz(19.4470, 10.9426, 51.5293)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37C1 #7BC137
analogous
#3837C1 #7D37C1 #C137C0
triadic
#7D37C1 #C17D37 #37C17D
tetradic
#7D37C1 #C13837 #7BC137 #37C0C1
square
#7D37C1 #C13837 #7BC137 #37C0C1
split-complementary
#7D37C1 #C0C137 #37C138
monochromatic
#3F1C62 #5E2991 #7D37C1 #9B63D2 #BA92E0

Accessibility & contrast

On white

6.59
#7D37C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7D37C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D37C1
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37C1#FFFFFF#000000##FFFFFF
##7D37C11.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d37c1;
/* rgb */ color: rgb(125, 55, 193);
/* oklch */ color: oklch(50.3% 0.204 302.8);
Tailwind
colors: {
  custom: {
    50: '#a874d5',
    500: '#7d37c1',
    950: '#000000',
  },
}
SCSS
$custom: #7d37c1;
$custom-light: #a874d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37c1",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 270.435,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50301,
    "c": 0.2039,
    "h": 302.8
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

primary
#7D37C1
secondary
#A9CB89
accent
#DF4993
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D37C1

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

Preview Lab → · Contrast checker → · Palette generator →

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