#7E3ED1#7E3ED1

#7E3ED1 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.213 H 298.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7E3ED1
RGBrgb(126, 62, 209)
HSLhsl(266, 62%, 53%)
HSVhsv(266, 70%, 82%)
CMYKcmyk(39.7%, 70.3%, 0%, 18%)
CIE-LABlab(41.98, 56.32, -65.43)
CIE-LCHlch(41.98, 86.33, 310.72°)
OKLaboklab(52.48% 0.1021 -0.1868)
OKLCHoklch(52.48% 0.213 298.7)
XYZxyz(21.8325, 12.4840, 61.5686)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3ED1 #91D13E
analogous
#3E48D1 #7E3ED1 #C73ED1
triadic
#7E3ED1 #D17E3E #3ED17E
tetradic
#7E3ED1 #D13E48 #91D13E #3ED1C7
square
#7E3ED1 #D13E48 #91D13E #3ED1C7
split-complementary
#7E3ED1 #D1C73E #48D13E
monochromatic
#441D78 #6128A9 #7E3ED1 #9F6FDD #C0A1E9

Accessibility & contrast

On white

6.01
#7E3ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7E3ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3ED1
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3ED1#FFFFFF#000000##FFFFFF
##7E3ED11.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#0062CE
Tritanopia (blue-blind)
#6A6283
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7e3ed1;
/* rgb */ color: rgb(126, 62, 209);
/* oklch */ color: oklch(52.5% 0.213 298.7);
Tailwind
colors: {
  custom: {
    50: '#aa78e0',
    500: '#7e3ed1',
    950: '#000000',
  },
}
SCSS
$custom: #7e3ed1;
$custom-light: #aa78e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3ed1",
  "rgb": {
    "r": 126,
    "g": 62,
    "b": 209
  },
  "hsl": {
    "h": 266.122,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52478,
    "c": 0.21289,
    "h": 298.7
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

primary
#7E3ED1
secondary
#B9D596
accent
#E5439E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E3ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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