#7E39BF#7E39BF

#7E39BF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.5% C 0.200 H 303.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7E39BF
RGBrgb(126, 57, 191)
HSLhsl(271, 54%, 49%)
HSVhsv(271, 70%, 75%)
CMYKcmyk(34%, 70.2%, 0%, 25.1%)
CIE-LABlab(39.79, 54.28, -58.53)
CIE-LCHlch(39.79, 79.82, 312.84°)
OKLaboklab(50.5% 0.1101 -0.1665)
OKLCHoklch(50.5% 0.2 303.5)
XYZxyz(19.4691, 11.1235, 50.4015)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E39BF #7ABF39
analogous
#3B39BF #7E39BF #BF39BD
triadic
#7E39BF #BF7E39 #39BF7E
tetradic
#7E39BF #BF3B39 #7ABF39 #39BDBF
square
#7E39BF #BF3B39 #7ABF39 #39BDBF
split-complementary
#7E39BF #BDBF39 #39BF3B
monochromatic
#401D61 #5F2B90 #7E39BF #9C64D1 #BA93DF

Accessibility & contrast

On white

6.51
#7E39BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E39BF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E39BF#FFFFFF#000000##FFFFFF
##7E39BF1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#715878
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e39bf;
/* rgb */ color: rgb(126, 57, 191);
/* oklch */ color: oklch(50.5% 0.200 303.5);
Tailwind
colors: {
  custom: {
    50: '#a975d3',
    500: '#7e39bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e39bf;
$custom-light: #a975d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e39bf",
  "rgb": {
    "r": 126,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 270.896,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50498,
    "c": 0.19961,
    "h": 303.5
  },
  "luminance": 0.11123
}

Semantic roles & 50–950 ramp

primary
#7E39BF
secondary
#A9CA8A
accent
#DD4A92
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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