#7D19A8#7D19A8

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

Color values

HEX#7D19A8
RGBrgb(125, 25, 168)
HSLhsl(282, 74%, 38%)
HSVhsv(282, 85%, 66%)
CMYKcmyk(25.6%, 85.1%, 0%, 34.1%)
CIE-LABlab(33.74, 60.95, -54.71)
CIE-LCHlch(33.74, 81.91, 318.09°)
OKLaboklab(45.66% 0.1409 -0.1551)
OKLCHoklch(45.66% 0.21 312.3)
XYZxyz(15.8716, 7.8829, 37.7237)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D19A8 #44A819
analogous
#3519A8 #7D19A8 #A8198B
triadic
#7D19A8 #A87D19 #19A87D
tetradic
#7D19A8 #A83519 #44A819 #198BA8
square
#7D19A8 #A83519 #44A819 #198BA8
split-complementary
#7D19A8 #8BA819 #19A835
monochromatic
#2E093D #551173 #7D19A8 #A521DD #BA56E6

Accessibility & contrast

On white

8.15
#7D19A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D19A8
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D19A8#FFFFFF#000000##FFFFFF
##7D19A81.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#784064
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d19a8;
/* rgb */ color: rgb(125, 25, 168);
/* oklch */ color: oklch(45.7% 0.210 312.3);
Tailwind
colors: {
  custom: {
    50: '#a865c3',
    500: '#7d19a8',
    950: '#000000',
  },
}
SCSS
$custom: #7d19a8;
$custom-light: #a865c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d19a8",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 168
  },
  "hsl": {
    "h": 281.958,
    "s": 74.093,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45662,
    "c": 0.20959,
    "h": 312.3
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#7D19A8
secondary
#77C954
accent
#F1376F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7D19A8

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

Preview Lab → · Contrast checker → · Palette generator →

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