#7819CA#7819CA

#7819CA is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.9% C 0.238 H 301.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7819CA
RGBrgb(120, 25, 202)
HSLhsl(272, 78%, 45%)
HSVhsv(272, 88%, 79%)
CMYKcmyk(40.6%, 87.6%, 0%, 20.8%)
CIE-LABlab(35.89, 67.40, -71.35)
CIE-LCHlch(35.89, 98.15, 313.37°)
OKLaboklab(47.89% 0.1228 -0.2041)
OKLCHoklch(47.89% 0.238 301)
XYZxyz(18.7514, 8.9524, 56.6058)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7819CA #6BCA19
analogous
#1F19CA #7819CA #CA19C4
triadic
#7819CA #CA7819 #19CA78
tetradic
#7819CA #CA1F19 #6BCA19 #19C4CA
square
#7819CA #CA1F19 #6BCA19 #19C4CA
split-complementary
#7819CA #C4CA19 #19CA1F
monochromatic
#370C5D #581294 #7819CA #963AE7 #B370ED

Accessibility & contrast

On white

7.53
#7819CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7819CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7819CA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7819CA#FFFFFF#000000##FFFFFF
##7819CA1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#655178
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7819ca;
/* rgb */ color: rgb(120, 25, 202);
/* oklch */ color: oklch(47.9% 0.238 301.0);
Tailwind
colors: {
  custom: {
    50: '#a767db',
    500: '#7819ca',
    950: '#000000',
  },
}
SCSS
$custom: #7819ca;
$custom-light: #a767db;
$custom-dark: #000000;
JSON
{
  "hex": "#7819ca",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 202
  },
  "hsl": {
    "h": 272.203,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.23824,
    "h": 301
  },
  "luminance": 0.08953
}

Semantic roles & 50–950 ramp

primary
#7819CA
secondary
#9CD46B
accent
#F4338D
background
#FBF6FD
surface
#F6EBFB
border
#D0C6D4
text
#110715
muted
#807A83

Preview Lab

Preview with #7819CA

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

Preview Lab → · Contrast checker → · Palette generator →

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