#7820A0#7820A0

#7820A0 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.195 H 312.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7820A0
RGBrgb(120, 32, 160)
HSLhsl(281, 67%, 38%)
HSVhsv(281, 80%, 63%)
CMYKcmyk(25%, 80%, 0%, 37.3%)
CIE-LABlab(33.06, 56.35, -51.02)
CIE-LCHlch(33.06, 76.02, 317.84°)
OKLaboklab(44.84% 0.1311 -0.1445)
OKLCHoklch(44.84% 0.195 312.2)
XYZxyz(14.6062, 7.5646, 33.9416)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7820A0 #48A020
analogous
#3820A0 #7820A0 #A02088
triadic
#7820A0 #A07820 #20A078
tetradic
#7820A0 #A03820 #48A020 #2088A0
square
#7820A0 #A03820 #48A020 #2088A0
split-complementary
#7820A0 #88A020 #20A038
monochromatic
#2B0C3A #52166D #7820A0 #9E2AD3 #B65CDE

Accessibility & contrast

On white

8.36
#7820A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7820A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7820A0
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7820A0#FFFFFF#000000##FFFFFF
##7820A01.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#044F9D
Tritanopia (blue-blind)
#734060
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7820a0;
/* rgb */ color: rgb(120, 32, 160);
/* oklch */ color: oklch(44.8% 0.195 312.2);
Tailwind
colors: {
  custom: {
    50: '#a467bd',
    500: '#7820a0',
    950: '#000000',
  },
}
SCSS
$custom: #7820a0;
$custom-light: #a467bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7820a0",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 281.25,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44837,
    "c": 0.1951,
    "h": 312.2
  },
  "luminance": 0.07564
}

Semantic roles & 50–950 ramp

primary
#7820A0
secondary
#7AC359
accent
#EA3E74
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7820A0

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

Preview Lab → · Contrast checker → · Palette generator →

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