#7E39BC#7E39BC

#7E39BC is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.3% C 0.196 H 304.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7E39BC
RGBrgb(126, 57, 188)
HSLhsl(272, 53%, 48%)
HSVhsv(272, 70%, 74%)
CMYKcmyk(33%, 69.7%, 0%, 26.3%)
CIE-LABlab(39.57, 53.56, -57.12)
CIE-LCHlch(39.57, 78.31, 313.16°)
OKLaboklab(50.27% 0.1106 -0.1624)
OKLCHoklch(50.27% 0.196 304.2)
XYZxyz(19.1423, 10.9928, 48.6806)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E39BC #77BC39
analogous
#3D39BC #7E39BC #BC39B8
triadic
#7E39BC #BC7E39 #39BC7E
tetradic
#7E39BC #BC3D39 #77BC39 #39B8BC
square
#7E39BC #BC3D39 #77BC39 #39B8BC
split-complementary
#7E39BC #B8BC39 #39BC3D
monochromatic
#3F1D5E #5F2B8D #7E39BC #9C63D0 #BA92DE

Accessibility & contrast

On white

6.57
#7E39BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7E39BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E39BC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E39BC#FFFFFF#000000##FFFFFF
##7E39BC1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#725776
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e39bc;
/* rgb */ color: rgb(126, 57, 188);
/* oklch */ color: oklch(50.3% 0.196 304.2);
Tailwind
colors: {
  custom: {
    50: '#a875d1',
    500: '#7e39bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e39bc;
$custom-light: #a875d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e39bc",
  "rgb": {
    "r": 126,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 271.603,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50272,
    "c": 0.19644,
    "h": 304.2
  },
  "luminance": 0.10993
}

Semantic roles & 50–950 ramp

primary
#7E39BC
secondary
#A7C988
accent
#DD4B90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7E39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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