#7E3ABE#7E3ABE

#7E3ABE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.197 H 303.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7E3ABE
RGBrgb(126, 58, 190)
HSLhsl(271, 53%, 49%)
HSVhsv(271, 69%, 75%)
CMYKcmyk(33.7%, 69.5%, 0%, 25.5%)
CIE-LABlab(39.88, 53.57, -57.79)
CIE-LCHlch(39.88, 78.80, 312.83°)
OKLaboklab(50.54% 0.1092 -0.1643)
OKLCHoklch(50.54% 0.197 303.6)
XYZxyz(19.4094, 11.1795, 49.8405)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3ABE #7ABE3A
analogous
#3C3ABE #7E3ABE #BE3ABC
triadic
#7E3ABE #BE7E3A #3ABE7E
tetradic
#7E3ABE #BE3C3A #7ABE3A #3ABCBE
square
#7E3ABE #BE3C3A #7ABE3A #3ABCBE
split-complementary
#7E3ABE #BCBE3A #3ABE3C
monochromatic
#401D60 #5F2C8F #7E3ABE #9C65D0 #BA94DE

Accessibility & contrast

On white

6.49
#7E3ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7E3ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3ABE
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3ABE#FFFFFF#000000##FFFFFF
##7E3ABE1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#715978
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e3abe;
/* rgb */ color: rgb(126, 58, 190);
/* oklch */ color: oklch(50.5% 0.197 303.6);
Tailwind
colors: {
  custom: {
    50: '#a875d2',
    500: '#7e3abe',
    950: '#000000',
  },
}
SCSS
$custom: #7e3abe;
$custom-light: #a875d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3abe",
  "rgb": {
    "r": 126,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 270.909,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50541,
    "c": 0.19733,
    "h": 303.6
  },
  "luminance": 0.11179
}

Semantic roles & 50–950 ramp

primary
#7E3ABE
secondary
#A9CA8A
accent
#DD4B92
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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