#7A19B4#7A19B4

#7A19B4 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.2% C 0.219 H 307.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7A19B4
RGBrgb(122, 25, 180)
HSLhsl(278, 76%, 40%)
HSVhsv(278, 86%, 71%)
CMYKcmyk(32.2%, 86.1%, 0%, 29.4%)
CIE-LABlab(34.25, 62.95, -61.08)
CIE-LCHlch(34.25, 87.71, 315.87°)
OKLaboklab(46.22% 0.1334 -0.1739)
OKLCHoklch(46.22% 0.219 307.5)
XYZxyz(16.6101, 8.1284, 43.8651)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A19B4 #53B419
analogous
#2C19B4 #7A19B4 #B419A1
triadic
#7A19B4 #B47A19 #19B47A
tetradic
#7A19B4 #B42C19 #53B419 #19A1B4
square
#7A19B4 #B42C19 #53B419 #19A1B4
split-complementary
#7A19B4 #A1B419 #19B42C
monochromatic
#310A49 #56127E #7A19B4 #9C29E1 #B55FE9

Accessibility & contrast

On white

8.00
#7A19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7A19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A19B4
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A19B4#FFFFFF#000000##FFFFFF
##7A19B41.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#70466B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a19b4;
/* rgb */ color: rgb(122, 25, 180);
/* oklch */ color: oklch(46.2% 0.219 307.5);
Tailwind
colors: {
  custom: {
    50: '#a766cb',
    500: '#7a19b4',
    950: '#000000',
  },
}
SCSS
$custom: #7a19b4;
$custom-light: #a766cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a19b4",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 277.548,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46224,
    "c": 0.21917,
    "h": 307.5
  },
  "luminance": 0.08128
}

Semantic roles & 50–950 ramp

primary
#7A19B4
secondary
#86CD5C
accent
#F2367C
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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