#7816A0#7816A0

#7816A0 is a dark, highly saturated purple. Relative luminance 0.071; OKLCH L 44.1% C 0.203 H 312.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7816A0
RGBrgb(120, 22, 160)
HSLhsl(283, 76%, 36%)
HSVhsv(283, 86%, 63%)
CMYKcmyk(25%, 86.3%, 0%, 37.3%)
CIE-LABlab(32.05, 59.31, -52.67)
CIE-LCHlch(32.05, 79.32, 318.39°)
OKLaboklab(44.13% 0.1382 -0.1493)
OKLCHoklch(44.13% 0.203 312.8)
XYZxyz(14.3766, 7.1054, 33.8650)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7816A0 #3EA016
analogous
#3316A0 #7816A0 #A01683
triadic
#7816A0 #A07816 #16A078
tetradic
#7816A0 #A03316 #3EA016 #1683A0
square
#7816A0 #A03316 #3EA016 #1683A0
split-complementary
#7816A0 #83A016 #16A033
monochromatic
#270734 #500F6A #7816A0 #A01DD6 #B94AE6

Accessibility & contrast

On white

8.67
#7816A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7816A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7816A0
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7816A0#FFFFFF#000000##FFFFFF
##7816A01.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#733C5F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7816a0;
/* rgb */ color: rgb(120, 22, 160);
/* oklch */ color: oklch(44.1% 0.203 312.8);
Tailwind
colors: {
  custom: {
    50: '#a463bd',
    500: '#7816a0',
    950: '#000000',
  },
}
SCSS
$custom: #7816a0;
$custom-light: #a463bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7816a0",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 282.609,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44129,
    "c": 0.20345,
    "h": 312.8
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#7816A0
secondary
#6FC84A
accent
#F2356C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7816A0

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

Preview Lab → · Contrast checker → · Palette generator →

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