#7E19A8#7E19A8

#7E19A8 is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.8% C 0.210 H 312.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7E19A8
RGBrgb(126, 25, 168)
HSLhsl(282, 74%, 38%)
HSVhsv(282, 85%, 66%)
CMYKcmyk(25%, 85.1%, 0%, 34.1%)
CIE-LABlab(33.90, 61.11, -54.45)
CIE-LCHlch(33.90, 81.85, 318.30°)
OKLaboklab(45.8% 0.1422 -0.1543)
OKLCHoklch(45.8% 0.21 312.7)
XYZxyz(16.0184, 7.9585, 37.7305)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E19A8 #43A819
analogous
#3719A8 #7E19A8 #A8198A
triadic
#7E19A8 #A87E19 #19A87E
tetradic
#7E19A8 #A83719 #43A819 #198AA8
square
#7E19A8 #A83719 #43A819 #198AA8
split-complementary
#7E19A8 #8AA819 #19A837
monochromatic
#2E093D #561173 #7E19A8 #A621DD #BB56E6

Accessibility & contrast

On white

8.10
#7E19A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7E19A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E19A8
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E19A8#FFFFFF#000000##FFFFFF
##7E19A81.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#794064
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e19a8;
/* rgb */ color: rgb(126, 25, 168);
/* oklch */ color: oklch(45.8% 0.210 312.7);
Tailwind
colors: {
  custom: {
    50: '#a866c3',
    500: '#7e19a8',
    950: '#000000',
  },
}
SCSS
$custom: #7e19a8;
$custom-light: #a866c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e19a8",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 168
  },
  "hsl": {
    "h": 282.378,
    "s": 74.093,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45804,
    "c": 0.20988,
    "h": 312.7
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#7E19A8
secondary
#76C954
accent
#F1376E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7E19A8

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

Preview Lab → · Contrast checker → · Palette generator →

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