#7E19A0#7E19A0

#7E19A0 is a mid, highly saturated purple. Relative luminance 0.077; OKLCH L 45.2% C 0.203 H 315.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7E19A0
RGBrgb(126, 25, 160)
HSLhsl(285, 73%, 36%)
HSVhsv(285, 84%, 63%)
CMYKcmyk(21.2%, 84.4%, 0%, 37.3%)
CIE-LABlab(33.28, 59.53, -50.61)
CIE-LCHlch(33.28, 78.14, 319.63°)
OKLaboklab(45.19% 0.1442 -0.143)
OKLCHoklch(45.19% 0.203 315.2)
XYZxyz(15.2959, 7.6695, 33.9255)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E19A0 #3BA019
analogous
#3B19A0 #7E19A0 #A0197F
triadic
#7E19A0 #A07E19 #19A07E
tetradic
#7E19A0 #A03B19 #3BA019 #197FA0
square
#7E19A0 #A03B19 #3BA019 #197FA0
split-complementary
#7E19A0 #7FA019 #19A03B
monochromatic
#2B0836 #54116B #7E19A0 #A821D5 #BE50E4

Accessibility & contrast

On white

8.29
#7E19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7E19A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E19A0
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E19A0#FFFFFF#000000##FFFFFF
##7E19A01.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#0F519D
Tritanopia (blue-blind)
#7B3C5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e19a0;
/* rgb */ color: rgb(126, 25, 160);
/* oklch */ color: oklch(45.2% 0.203 315.2);
Tailwind
colors: {
  custom: {
    50: '#a865bd',
    500: '#7e19a0',
    950: '#000000',
  },
}
SCSS
$custom: #7e19a0;
$custom-light: #a865bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e19a0",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 284.889,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45186,
    "c": 0.2031,
    "h": 315.2
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#7E19A0
secondary
#6DC64F
accent
#F03866
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7E19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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