#7E19A7#7E19A7

#7E19A7 is a mid, highly saturated purple. Relative luminance 0.079; OKLCH L 45.7% C 0.209 H 313.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7E19A7
RGBrgb(126, 25, 167)
HSLhsl(283, 74%, 38%)
HSVhsv(283, 85%, 65%)
CMYKcmyk(24.6%, 85%, 0%, 34.5%)
CIE-LABlab(33.82, 60.91, -53.97)
CIE-LCHlch(33.82, 81.39, 318.46°)
OKLaboklab(45.73% 0.1425 -0.1529)
OKLCHoklch(45.73% 0.209 313)
XYZxyz(15.9256, 7.9214, 37.2418)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E19A7 #42A719
analogous
#3719A7 #7E19A7 #A71989
triadic
#7E19A7 #A77E19 #19A77E
tetradic
#7E19A7 #A73719 #42A719 #1989A7
square
#7E19A7 #A73719 #42A719 #1989A7
split-complementary
#7E19A7 #89A719 #19A737
monochromatic
#2E093D #561172 #7E19A7 #A621DC #BC55E6

Accessibility & contrast

On white

8.13
#7E19A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7E19A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E19A7
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E19A7#FFFFFF#000000##FFFFFF
##7E19A71.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#793F63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e19a7;
/* rgb */ color: rgb(126, 25, 167);
/* oklch */ color: oklch(45.7% 0.209 313.0);
Tailwind
colors: {
  custom: {
    50: '#a865c2',
    500: '#7e19a7',
    950: '#000000',
  },
}
SCSS
$custom: #7e19a7;
$custom-light: #a865c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e19a7",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 167
  },
  "hsl": {
    "h": 282.676,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45725,
    "c": 0.20903,
    "h": 313
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#7E19A7
secondary
#75C853
accent
#F1376D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7E19A7

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

Preview Lab → · Contrast checker → · Palette generator →

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