#7A19B3#7A19B3

#7A19B3 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.1% C 0.218 H 307.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7A19B3
RGBrgb(122, 25, 179)
HSLhsl(278, 75%, 40%)
HSVhsv(278, 86%, 70%)
CMYKcmyk(31.8%, 86%, 0%, 29.8%)
CIE-LABlab(34.17, 62.74, -60.62)
CIE-LCHlch(34.17, 87.24, 315.99°)
OKLaboklab(46.14% 0.1337 -0.1726)
OKLCHoklch(46.14% 0.218 307.8)
XYZxyz(16.5086, 8.0878, 43.3305)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A19B3 #52B319
analogous
#2D19B3 #7A19B3 #B3199F
triadic
#7A19B3 #B37A19 #19B37A
tetradic
#7A19B3 #B32D19 #52B319 #199FB3
square
#7A19B3 #B32D19 #52B319 #199FB3
split-complementary
#7A19B3 #9FB319 #19B32D
monochromatic
#310A48 #55127D #7A19B3 #9D28E1 #B55EE8

Accessibility & contrast

On white

8.02
#7A19B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7A19B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A19B3
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A19B3#FFFFFF#000000##FFFFFF
##7A19B31.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#70456A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a19b3;
/* rgb */ color: rgb(122, 25, 179);
/* oklch */ color: oklch(46.1% 0.218 307.8);
Tailwind
colors: {
  custom: {
    50: '#a766cb',
    500: '#7a19b3',
    950: '#000000',
  },
}
SCSS
$custom: #7a19b3;
$custom-light: #a766cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a19b3",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 179
  },
  "hsl": {
    "h": 277.792,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.46141,
    "c": 0.2183,
    "h": 307.8
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#7A19B3
secondary
#85CC5B
accent
#F2367B
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A19B3

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

Preview Lab → · Contrast checker → · Palette generator →

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