#7819B4#7819B4

#7819B4 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 46.0% C 0.219 H 306.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7819B4
RGBrgb(120, 25, 180)
HSLhsl(277, 76%, 40%)
HSVhsv(277, 86%, 71%)
CMYKcmyk(33.3%, 86.1%, 0%, 29.4%)
CIE-LABlab(33.95, 62.66, -61.58)
CIE-LCHlch(33.95, 87.86, 315.50°)
OKLaboklab(45.96% 0.1306 -0.1755)
OKLCHoklch(45.96% 0.219 306.6)
XYZxyz(16.3298, 7.9838, 43.8519)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7819B4 #55B419
analogous
#2A19B4 #7819B4 #B419A3
triadic
#7819B4 #B47819 #19B478
tetradic
#7819B4 #B42A19 #55B419 #19A3B4
square
#7819B4 #B42A19 #55B419 #19A3B4
split-complementary
#7819B4 #A3B419 #19B42A
monochromatic
#300A49 #54127E #7819B4 #9A29E1 #B35FE9

Accessibility & contrast

On white

8.09
#7819B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7819B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7819B4
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7819B4#FFFFFF#000000##FFFFFF
##7819B41.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#6D466B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7819b4;
/* rgb */ color: rgb(120, 25, 180);
/* oklch */ color: oklch(46.0% 0.219 306.6);
Tailwind
colors: {
  custom: {
    50: '#a565cc',
    500: '#7819b4',
    950: '#000000',
  },
}
SCSS
$custom: #7819b4;
$custom-light: #a565cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7819b4",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 276.774,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45956,
    "c": 0.21871,
    "h": 306.6
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#7819B4
secondary
#88CD5C
accent
#F2367F
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7819B4

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

Preview Lab → · Contrast checker → · Palette generator →

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