#7E37C5#7E37C5

#7E37C5 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.208 H 302.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7E37C5
RGBrgb(126, 55, 197)
HSLhsl(270, 56%, 49%)
HSVhsv(270, 72%, 77%)
CMYKcmyk(36%, 72.1%, 0%, 22.7%)
CIE-LABlab(39.91, 56.61, -61.83)
CIE-LCHlch(39.91, 83.83, 312.48°)
OKLaboklab(50.73% 0.111 -0.1762)
OKLCHoklch(50.73% 0.208 302.2)
XYZxyz(20.0460, 11.1992, 53.9181)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E37C5 #7EC537
analogous
#3737C5 #7E37C5 #C537C5
triadic
#7E37C5 #C57E37 #37C57E
tetradic
#7E37C5 #C53737 #7EC537 #37C5C5
square
#7E37C5 #C53737 #7EC537 #37C5C5
split-complementary
#7E37C5 #C5C537 #37C537
monochromatic
#411C65 #5F2A95 #7E37C5 #9D65D4 #BB95E1

Accessibility & contrast

On white

6.48
#7E37C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7E37C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E37C5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E37C5#FFFFFF#000000##FFFFFF
##7E37C51.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e37c5;
/* rgb */ color: rgb(126, 55, 197);
/* oklch */ color: oklch(50.7% 0.208 302.2);
Tailwind
colors: {
  custom: {
    50: '#a974d7',
    500: '#7e37c5',
    950: '#000000',
  },
}
SCSS
$custom: #7e37c5;
$custom-light: #a974d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e37c5",
  "rgb": {
    "r": 126,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 270,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.20827,
    "h": 302.2
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#7E37C5
secondary
#ACCD8B
accent
#E04894
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #7E37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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