#7E39BE#7E39BE

#7E39BE is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.199 H 303.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7E39BE
RGBrgb(126, 57, 190)
HSLhsl(271, 54%, 48%)
HSVhsv(271, 70%, 75%)
CMYKcmyk(33.7%, 70%, 0%, 25.5%)
CIE-LABlab(39.71, 54.04, -58.06)
CIE-LCHlch(39.71, 79.32, 312.95°)
OKLaboklab(50.42% 0.1103 -0.1651)
OKLCHoklch(50.42% 0.199 303.7)
XYZxyz(19.3594, 11.0796, 49.8239)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E39BE #79BE39
analogous
#3C39BE #7E39BE #BE39BB
triadic
#7E39BE #BE7E39 #39BE7E
tetradic
#7E39BE #BE3C39 #79BE39 #39BBBE
square
#7E39BE #BE3C39 #79BE39 #39BBBE
split-complementary
#7E39BE #BBBE39 #39BE3C
monochromatic
#401D60 #5F2B8F #7E39BE #9C64D0 #BA93DF

Accessibility & contrast

On white

6.53
#7E39BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E39BE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E39BE#FFFFFF#000000##FFFFFF
##7E39BE1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#725877
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e39be;
/* rgb */ color: rgb(126, 57, 190);
/* oklch */ color: oklch(50.4% 0.199 303.7);
Tailwind
colors: {
  custom: {
    50: '#a875d2',
    500: '#7e39be',
    950: '#000000',
  },
}
SCSS
$custom: #7e39be;
$custom-light: #a875d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e39be",
  "rgb": {
    "r": 126,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 271.128,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50422,
    "c": 0.19856,
    "h": 303.7
  },
  "luminance": 0.1108
}

Semantic roles & 50–950 ramp

primary
#7E39BE
secondary
#A8CA89
accent
#DD4B91
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E39BE

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

Preview Lab → · Contrast checker → · Palette generator →

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