#7E37CC#7E37CC

#7E37CC is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.3% C 0.216 H 300.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7E37CC
RGBrgb(126, 55, 204)
HSLhsl(269, 59%, 51%)
HSVhsv(269, 73%, 80%)
CMYKcmyk(38.2%, 73%, 0%, 20%)
CIE-LABlab(40.46, 58.29, -65.01)
CIE-LCHlch(40.46, 87.32, 311.88°)
OKLaboklab(51.28% 0.1097 -0.1856)
OKLCHoklch(51.28% 0.216 300.6)
XYZxyz(20.8668, 11.5275, 58.2407)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E37CC #85CC37
analogous
#373ACC #7E37CC #C937CC
triadic
#7E37CC #CC7E37 #37CC7E
tetradic
#7E37CC #CC373A #85CC37 #37CCC9
square
#7E37CC #CC373A #85CC37 #37CCC9
split-complementary
#7E37CC #CCC937 #3ACC37
monochromatic
#421C6D #60289E #7E37CC #9D68D8 #BD99E5

Accessibility & contrast

On white

6.35
#7E37CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7E37CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E37CC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E37CC#FFFFFF#000000##FFFFFF
##7E37CC1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#6C5D7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e37cc;
/* rgb */ color: rgb(126, 55, 204);
/* oklch */ color: oklch(51.3% 0.216 300.6);
Tailwind
colors: {
  custom: {
    50: '#aa74dd',
    500: '#7e37cc',
    950: '#000000',
  },
}
SCSS
$custom: #7e37cc;
$custom-light: #aa74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e37cc",
  "rgb": {
    "r": 126,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 268.591,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5128,
    "c": 0.21554,
    "h": 300.6
  },
  "luminance": 0.11528
}

Semantic roles & 50–950 ramp

primary
#7E37CC
secondary
#B1D08E
accent
#E34598
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E37CC

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

Preview Lab → · Contrast checker → · Palette generator →

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