#7819B3#7819B3

#7819B3 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.9% C 0.218 H 306.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7819B3
RGBrgb(120, 25, 179)
HSLhsl(277, 75%, 40%)
HSVhsv(277, 86%, 70%)
CMYKcmyk(33%, 86%, 0%, 29.8%)
CIE-LABlab(33.86, 62.45, -61.12)
CIE-LCHlch(33.86, 87.38, 315.62°)
OKLaboklab(45.87% 0.1309 -0.1741)
OKLCHoklch(45.87% 0.218 306.9)
XYZxyz(16.2283, 7.9432, 43.3174)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7819B3 #54B319
analogous
#2B19B3 #7819B3 #B319A1
triadic
#7819B3 #B37819 #19B378
tetradic
#7819B3 #B32B19 #54B319 #19A1B3
square
#7819B3 #B32B19 #54B319 #19A1B3
split-complementary
#7819B3 #A1B319 #19B32B
monochromatic
#300A48 #54127D #7819B3 #9A28E1 #B35EE8

Accessibility & contrast

On white

8.11
#7819B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7819B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7819B3
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7819B3#FFFFFF#000000##FFFFFF
##7819B31.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#6E466A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7819b3;
/* rgb */ color: rgb(120, 25, 179);
/* oklch */ color: oklch(45.9% 0.218 306.9);
Tailwind
colors: {
  custom: {
    50: '#a565cb',
    500: '#7819b3',
    950: '#000000',
  },
}
SCSS
$custom: #7819b3;
$custom-light: #a565cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7819b3",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 179
  },
  "hsl": {
    "h": 277.013,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.45871,
    "c": 0.21783,
    "h": 306.9
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#7819B3
secondary
#87CC5B
accent
#F2367E
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7819B3

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

Preview Lab → · Contrast checker → · Palette generator →

#7819B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva