#7820A3#7820A3

#7820A3 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.198 H 311.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7820A3
RGBrgb(120, 32, 163)
HSLhsl(280, 67%, 38%)
HSVhsv(280, 80%, 64%)
CMYKcmyk(26.4%, 80.4%, 0%, 36.1%)
CIE-LABlab(33.29, 56.98, -52.47)
CIE-LCHlch(33.29, 77.46, 317.36°)
OKLaboklab(45.07% 0.1304 -0.1487)
OKLCHoklch(45.07% 0.198 311.2)
XYZxyz(14.8718, 7.6708, 35.3404)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7820A3 #4BA320
analogous
#3620A3 #7820A3 #A3208C
triadic
#7820A3 #A37820 #20A378
tetradic
#7820A3 #A33620 #4BA320 #208CA3
square
#7820A3 #A33620 #4BA320 #208CA3
split-complementary
#7820A3 #8CA320 #20A336
monochromatic
#2D0C3D #521670 #7820A3 #9D2BD5 #B55EDF

Accessibility & contrast

On white

8.29
#7820A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7820A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7820A3
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7820A3#FFFFFF#000000##FFFFFF
##7820A31.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#724162
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7820a3;
/* rgb */ color: rgb(120, 32, 163);
/* oklch */ color: oklch(45.1% 0.198 311.2);
Tailwind
colors: {
  custom: {
    50: '#a467bf',
    500: '#7820a3',
    950: '#000000',
  },
}
SCSS
$custom: #7820a3;
$custom-light: #a467bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7820a3",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 280.305,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45069,
    "c": 0.19784,
    "h": 311.2
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#7820A3
secondary
#7DC45B
accent
#EA3E76
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7820A3

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

Preview Lab → · Contrast checker → · Palette generator →

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