#7E39CA#7E39CA

#7E39CA is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.211 H 300.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7E39CA
RGBrgb(126, 57, 202)
HSLhsl(269, 58%, 51%)
HSVhsv(269, 72%, 79%)
CMYKcmyk(37.6%, 71.8%, 0%, 20.8%)
CIE-LABlab(40.62, 56.92, -63.59)
CIE-LCHlch(40.62, 85.34, 311.83°)
OKLaboklab(51.35% 0.1082 -0.1814)
OKLCHoklch(51.35% 0.211 300.8)
XYZxyz(20.7254, 11.6260, 57.0178)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E39CA #85CA39
analogous
#393CCA #7E39CA #C739CA
triadic
#7E39CA #CA7E39 #39CA7E
tetradic
#7E39CA #CA393C #85CA39 #39CAC7
square
#7E39CA #CA393C #85CA39 #39CAC7
split-complementary
#7E39CA #CAC739 #3CCA39
monochromatic
#421D6C #602A9C #7E39CA #9D69D7 #BD9AE4

Accessibility & contrast

On white

6.32
#7E39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7E39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E39CA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E39CA#FFFFFF#000000##FFFFFF
##7E39CA1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#6D5D7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e39ca;
/* rgb */ color: rgb(126, 57, 202);
/* oklch */ color: oklch(51.3% 0.211 300.8);
Tailwind
colors: {
  custom: {
    50: '#aa75db',
    500: '#7e39ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e39ca;
$custom-light: #aa75db;
$custom-dark: #000000;
JSON
{
  "hex": "#7e39ca",
  "rgb": {
    "r": 126,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 268.552,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51345,
    "c": 0.21121,
    "h": 300.8
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#7E39CA
secondary
#B1D08F
accent
#E14798
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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