#7E37AF#7E37AF

#7E37AF is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.1% C 0.185 H 308.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7E37AF
RGBrgb(126, 55, 175)
HSLhsl(276, 52%, 45%)
HSVhsv(276, 69%, 69%)
CMYKcmyk(28%, 68.6%, 0%, 31.4%)
CIE-LABlab(38.31, 51.46, -51.48)
CIE-LCHlch(38.31, 72.79, 314.99°)
OKLaboklab(49.08% 0.1144 -0.1458)
OKLCHoklch(49.08% 0.185 308.1)
XYZxyz(17.7066, 10.2634, 41.5974)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E37AF #68AF37
analogous
#4237AF #7E37AF #AF37A4
triadic
#7E37AF #AF7E37 #37AF7E
tetradic
#7E37AF #AF4237 #68AF37 #37A4AF
square
#7E37AF #AF4237 #68AF37 #37A4AF
split-complementary
#7E37AF #A4AF37 #37AF42
monochromatic
#3B1A52 #5C2880 #7E37AF #9C59CB #B887D9

Accessibility & contrast

On white

6.88
#7E37AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7E37AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E37AF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E37AF#FFFFFF#000000##FFFFFF
##7E37AF1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#1C5BAC
Tritanopia (blue-blind)
#76516F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e37af;
/* rgb */ color: rgb(126, 55, 175);
/* oklch */ color: oklch(49.1% 0.185 308.1);
Tailwind
colors: {
  custom: {
    50: '#a773c8',
    500: '#7e37af',
    950: '#000000',
  },
}
SCSS
$custom: #7e37af;
$custom-light: #a773c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e37af",
  "rgb": {
    "r": 126,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 275.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49082,
    "c": 0.1853,
    "h": 308.1
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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