#7E3EBE#7E3EBE

#7E3EBE is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.192 H 303.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7E3EBE
RGBrgb(126, 62, 190)
HSLhsl(270, 51%, 49%)
HSVhsv(270, 67%, 75%)
CMYKcmyk(33.7%, 67.4%, 0%, 25.5%)
CIE-LABlab(40.57, 51.65, -56.67)
CIE-LCHlch(40.57, 76.68, 312.35°)
OKLaboklab(51.04% 0.105 -0.1611)
OKLCHoklch(51.04% 0.192 303.1)
XYZxyz(19.6189, 11.5986, 49.9104)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3EBE #7EBE3E
analogous
#3E3EBE #7E3EBE #BE3EBE
triadic
#7E3EBE #BE7E3E #3EBE7E
tetradic
#7E3EBE #BE3E3E #7EBE3E #3EBEBE
square
#7E3EBE #BE3E3E #7EBE3E #3EBEBE
split-complementary
#7E3EBE #BEBE3E #3EBE3E
monochromatic
#412062 #5F2F90 #7E3EBE #9D6BCF #BB99DE

Accessibility & contrast

On white

6.33
#7E3EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7E3EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3EBE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3EBE#FFFFFF#000000##FFFFFF
##7E3EBE1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#025FBB
Tritanopia (blue-blind)
#715B79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e3ebe;
/* rgb */ color: rgb(126, 62, 190);
/* oklch */ color: oklch(51.0% 0.192 303.1);
Tailwind
colors: {
  custom: {
    50: '#a878d2',
    500: '#7e3ebe',
    950: '#000000',
  },
}
SCSS
$custom: #7e3ebe;
$custom-light: #a878d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3ebe",
  "rgb": {
    "r": 126,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 270,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51035,
    "c": 0.19225,
    "h": 303.1
  },
  "luminance": 0.11599
}

Semantic roles & 50–950 ramp

primary
#7E3EBE
secondary
#ACC98E
accent
#DA4E94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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