#7820AC#7820AC

#7820AC is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.8% C 0.206 H 308.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7820AC
RGBrgb(120, 32, 172)
HSLhsl(278, 69%, 40%)
HSVhsv(278, 81%, 67%)
CMYKcmyk(30.2%, 81.4%, 0%, 32.5%)
CIE-LABlab(33.99, 58.89, -56.73)
CIE-LCHlch(33.99, 81.78, 316.07°)
OKLaboklab(45.78% 0.1283 -0.1613)
OKLCHoklch(45.78% 0.206 308.5)
XYZxyz(15.7071, 8.0049, 39.7394)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7820AC #54AC20
analogous
#3220AC #7820AC #AC209A
triadic
#7820AC #AC7820 #20AC78
tetradic
#7820AC #AC3220 #54AC20 #209AAC
square
#7820AC #AC3220 #54AC20 #209AAC
split-complementary
#7820AC #9AAC20 #20AC32
monochromatic
#300D45 #541678 #7820AC #9A31D9 #B364E2

Accessibility & contrast

On white

8.07
#7820AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7820AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7820AC
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7820AC#FFFFFF#000000##FFFFFF
##7820AC1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#704567
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7820ac;
/* rgb */ color: rgb(120, 32, 172);
/* oklch */ color: oklch(45.8% 0.206 308.5);
Tailwind
colors: {
  custom: {
    50: '#a467c6',
    500: '#7820ac',
    950: '#000000',
  },
}
SCSS
$custom: #7820ac;
$custom-light: #a467c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7820ac",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 277.714,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.45782,
    "c": 0.20606,
    "h": 308.5
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#7820AC
secondary
#87C760
accent
#EB3C7D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7820AC

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

Preview Lab → · Contrast checker → · Palette generator →

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