#7E3EBF#7E3EBF

#7E3EBF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.193 H 302.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7E3EBF
RGBrgb(126, 62, 191)
HSLhsl(270, 51%, 50%)
HSVhsv(270, 68%, 75%)
CMYKcmyk(34%, 67.5%, 0%, 25.1%)
CIE-LABlab(40.64, 51.90, -57.14)
CIE-LCHlch(40.64, 77.19, 312.25°)
OKLaboklab(51.11% 0.1048 -0.1625)
OKLCHoklch(51.11% 0.193 302.8)
XYZxyz(19.7286, 11.6424, 50.4880)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3EBF #7FBF3E
analogous
#3E3FBF #7E3EBF #BE3EBF
triadic
#7E3EBF #BF7E3E #3EBF7E
tetradic
#7E3EBF #BF3E3F #7FBF3E #3EBFBE
square
#7E3EBF #BF3E3F #7FBF3E #3EBFBE
split-complementary
#7E3EBF #BFBE3E #3FBF3E
monochromatic
#412063 #602F91 #7E3EBF #9D6BCF #BB99DE

Accessibility & contrast

On white

6.31
#7E3EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E3EBF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3EBF#FFFFFF#000000##FFFFFF
##7E3EBF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#715B79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e3ebf;
/* rgb */ color: rgb(126, 62, 191);
/* oklch */ color: oklch(51.1% 0.193 302.8);
Tailwind
colors: {
  custom: {
    50: '#a878d3',
    500: '#7e3ebf',
    950: '#000000',
  },
}
SCSS
$custom: #7e3ebf;
$custom-light: #a878d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3ebf",
  "rgb": {
    "r": 126,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 269.767,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.19335,
    "h": 302.8
  },
  "luminance": 0.11642
}

Semantic roles & 50–950 ramp

primary
#7E3EBF
secondary
#ADCA8F
accent
#DA4D94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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