#7820AD#7820AD

#7820AD is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.9% C 0.207 H 308.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7820AD
RGBrgb(120, 32, 173)
HSLhsl(277, 69%, 40%)
HSVhsv(277, 82%, 68%)
CMYKcmyk(30.6%, 81.5%, 0%, 32.2%)
CIE-LABlab(34.07, 59.11, -57.20)
CIE-LCHlch(34.07, 82.25, 315.94°)
OKLaboklab(45.86% 0.128 -0.1627)
OKLCHoklch(45.86% 0.207 308.2)
XYZxyz(15.8035, 8.0435, 40.2471)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7820AD #55AD20
analogous
#3220AD #7820AD #AD209B
triadic
#7820AD #AD7820 #20AD78
tetradic
#7820AD #AD3220 #55AD20 #209BAD
square
#7820AD #AD3220 #55AD20 #209BAD
split-complementary
#7820AD #9BAD20 #20AD32
monochromatic
#300D46 #541679 #7820AD #9A31D9 #B365E2

Accessibility & contrast

On white

8.05
#7820AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7820AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7820AD
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7820AD#FFFFFF#000000##FFFFFF
##7820AD1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#6F4668
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7820ad;
/* rgb */ color: rgb(120, 32, 173);
/* oklch */ color: oklch(45.9% 0.207 308.2);
Tailwind
colors: {
  custom: {
    50: '#a467c6',
    500: '#7820ad',
    950: '#000000',
  },
}
SCSS
$custom: #7820ad;
$custom-light: #a467c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7820ad",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 277.447,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45863,
    "c": 0.20698,
    "h": 308.2
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#7820AD
secondary
#88C861
accent
#EC3C7E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7820AD

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

Preview Lab → · Contrast checker → · Palette generator →

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