#7820A9#7820A9

#7820A9 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.203 H 309.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7820A9
RGBrgb(120, 32, 169)
HSLhsl(279, 68%, 39%)
HSVhsv(279, 81%, 66%)
CMYKcmyk(29%, 81.1%, 0%, 33.7%)
CIE-LABlab(33.75, 58.25, -55.32)
CIE-LCHlch(33.75, 80.34, 316.48°)
OKLaboklab(45.54% 0.129 -0.1571)
OKLCHoklch(45.54% 0.203 309.4)
XYZxyz(15.4222, 7.8910, 38.2391)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7820A9 #51A920
analogous
#3420A9 #7820A9 #A92096
triadic
#7820A9 #A97820 #20A978
tetradic
#7820A9 #A93420 #51A920 #2096A9
square
#7820A9 #A93420 #51A920 #2096A9
split-complementary
#7820A9 #96A920 #20A934
monochromatic
#2F0D42 #531676 #7820A9 #9B2FD8 #B462E1

Accessibility & contrast

On white

8.15
#7820A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7820A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7820A9
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7820A9#FFFFFF#000000##FFFFFF
##7820A91.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#714465
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7820a9;
/* rgb */ color: rgb(120, 32, 169);
/* oklch */ color: oklch(45.5% 0.203 309.4);
Tailwind
colors: {
  custom: {
    50: '#a467c3',
    500: '#7820a9',
    950: '#000000',
  },
}
SCSS
$custom: #7820a9;
$custom-light: #a467c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7820a9",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 278.54,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45542,
    "c": 0.20331,
    "h": 309.4
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#7820A9
secondary
#84C65F
accent
#EB3D7B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7820A9

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

Preview Lab → · Contrast checker → · Palette generator →

#7820A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva