#7E1FAE#7E1FAE

#7E1FAE is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.210 H 310.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7E1FAE
RGBrgb(126, 31, 174)
HSLhsl(280, 70%, 40%)
HSVhsv(280, 82%, 68%)
CMYKcmyk(27.6%, 82.2%, 0%, 31.8%)
CIE-LABlab(34.95, 60.63, -56.34)
CIE-LCHlch(34.95, 82.76, 317.10°)
OKLaboklab(46.68% 0.1367 -0.1599)
OKLCHoklch(46.68% 0.21 310.5)
XYZxyz(16.7327, 8.4720, 40.7900)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1FAE #4FAE1F
analogous
#361FAE #7E1FAE #AE1F96
triadic
#7E1FAE #AE7E1F #1FAE7E
tetradic
#7E1FAE #AE361F #4FAE1F #1F96AE
square
#7E1FAE #AE361F #4FAE1F #1F96AE
split-complementary
#7E1FAE #96AE1F #1FAE36
monochromatic
#330C46 #58167A #7E1FAE #A130DA #B964E3

Accessibility & contrast

On white

7.79
#7E1FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7E1FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1FAE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1FAE#FFFFFF#000000##FFFFFF
##7E1FAE1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#774568
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e1fae;
/* rgb */ color: rgb(126, 31, 174);
/* oklch */ color: oklch(46.7% 0.210 310.5);
Tailwind
colors: {
  custom: {
    50: '#a968c7',
    500: '#7e1fae',
    950: '#000000',
  },
}
SCSS
$custom: #7e1fae;
$custom-light: #a968c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1fae",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 279.86,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46682,
    "c": 0.21035,
    "h": 310.5
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#7E1FAE
secondary
#83C860
accent
#ED3B77
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E1FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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