#7816B0#7816B0

#7816B0 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.4% C 0.217 H 307.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7816B0
RGBrgb(120, 22, 176)
HSLhsl(278, 78%, 39%)
HSVhsv(278, 88%, 69%)
CMYKcmyk(31.8%, 87.5%, 0%, 31%)
CIE-LABlab(33.35, 62.58, -60.17)
CIE-LCHlch(33.35, 86.81, 316.13°)
OKLaboklab(45.44% 0.1335 -0.1713)
OKLCHoklch(45.44% 0.217 307.9)
XYZxyz(15.8674, 7.7017, 41.7166)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7816B0 #4EB016
analogous
#2B16B0 #7816B0 #B0169B
triadic
#7816B0 #B07816 #16B078
tetradic
#7816B0 #B02B16 #4EB016 #169BB0
square
#7816B0 #B02B16 #4EB016 #169BB0
split-complementary
#7816B0 #9BB016 #16B02B
monochromatic
#2E0843 #530F7A #7816B0 #9C20E3 #B456EA

Accessibility & contrast

On white

8.27
#7816B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7816B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7816B0
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7816B0#FFFFFF#000000##FFFFFF
##7816B01.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#6F4368
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7816b0;
/* rgb */ color: rgb(120, 22, 176);
/* oklch */ color: oklch(45.4% 0.217 307.9);
Tailwind
colors: {
  custom: {
    50: '#a564c9',
    500: '#7816b0',
    950: '#000000',
  },
}
SCSS
$custom: #7816b0;
$custom-light: #a564c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7816b0",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 176
  },
  "hsl": {
    "h": 278.182,
    "s": 77.778,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45441,
    "c": 0.21719,
    "h": 307.9
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

primary
#7816B0
secondary
#81CD55
accent
#F4347A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7816B0

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

Preview Lab → · Contrast checker → · Palette generator →

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