#7E39D6#7E39D6

#7E39D6 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.224 H 298.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7E39D6
RGBrgb(126, 57, 214)
HSLhsl(266, 66%, 53%)
HSVhsv(266, 73%, 84%)
CMYKcmyk(41.1%, 73.4%, 0%, 16.1%)
CIE-LABlab(41.56, 59.83, -68.99)
CIE-LCHlch(41.56, 91.32, 310.94°)
OKLaboklab(52.31% 0.1057 -0.1972)
OKLCHoklch(52.31% 0.224 298.2)
XYZxyz(22.2018, 12.2166, 64.7936)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E39D6 #91D639
analogous
#3943D6 #7E39D6 #CC39D6
triadic
#7E39D6 #D67E39 #39D67E
tetradic
#7E39D6 #D63943 #91D639 #39D6CC
square
#7E39D6 #D63943 #91D639 #39D6CC
split-complementary
#7E39D6 #D6CC39 #43D639
monochromatic
#44197B #6124AE #7E39D6 #9F6CE0 #C09EEB

Accessibility & contrast

On white

6.10
#7E39D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7E39D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E39D6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E39D6#FFFFFF#000000##FFFFFF
##7E39D61.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#686285
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7e39d6;
/* rgb */ color: rgb(126, 57, 214);
/* oklch */ color: oklch(52.3% 0.224 298.2);
Tailwind
colors: {
  custom: {
    50: '#ab76e4',
    500: '#7e39d6',
    950: '#000000',
  },
}
SCSS
$custom: #7e39d6;
$custom-light: #ab76e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e39d6",
  "rgb": {
    "r": 126,
    "g": 57,
    "b": 214
  },
  "hsl": {
    "h": 266.369,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.22379,
    "h": 298.2
  },
  "luminance": 0.12217
}

Semantic roles & 50–950 ramp

primary
#7E39D6
secondary
#B9D794
accent
#E93F9E
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7E39D6

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

Preview Lab → · Contrast checker → · Palette generator →

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