#7E19A5#7E19A5

#7E19A5 is a mid, highly saturated purple. Relative luminance 0.078; OKLCH L 45.6% C 0.207 H 313.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7E19A5
RGBrgb(126, 25, 165)
HSLhsl(283, 74%, 37%)
HSVhsv(283, 85%, 65%)
CMYKcmyk(23.6%, 84.8%, 0%, 35.3%)
CIE-LABlab(33.66, 60.52, -53.02)
CIE-LCHlch(33.66, 80.46, 318.78°)
OKLaboklab(45.57% 0.143 -0.1501)
OKLCHoklch(45.57% 0.207 313.6)
XYZxyz(15.7421, 7.8480, 36.2756)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E19A5 #40A519
analogous
#3819A5 #7E19A5 #A51986
triadic
#7E19A5 #A57E19 #19A57E
tetradic
#7E19A5 #A53819 #40A519 #1986A5
square
#7E19A5 #A53819 #40A519 #1986A5
split-complementary
#7E19A5 #86A519 #19A538
monochromatic
#2D093B #551170 #7E19A5 #A721DA #BC53E5

Accessibility & contrast

On white

8.17
#7E19A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7E19A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E19A5
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E19A5#FFFFFF#000000##FFFFFF
##7E19A51.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#7A3E62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7e19a5;
/* rgb */ color: rgb(126, 25, 165);
/* oklch */ color: oklch(45.6% 0.207 313.6);
Tailwind
colors: {
  custom: {
    50: '#a865c1',
    500: '#7e19a5',
    950: '#000000',
  },
}
SCSS
$custom: #7e19a5;
$custom-light: #a865c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e19a5",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 165
  },
  "hsl": {
    "h": 283.286,
    "s": 73.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4557,
    "c": 0.20733,
    "h": 313.6
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#7E19A5
secondary
#73C852
accent
#F0376B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7E19A5

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

Preview Lab → · Contrast checker → · Palette generator →

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