#7816B3#7816B3

#7816B3 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.7% C 0.220 H 307.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7816B3
RGBrgb(120, 22, 179)
HSLhsl(277, 78%, 39%)
HSVhsv(277, 88%, 70%)
CMYKcmyk(33%, 87.7%, 0%, 29.8%)
CIE-LABlab(33.61, 63.21, -61.54)
CIE-LCHlch(33.61, 88.22, 315.77°)
OKLaboklab(45.7% 0.1325 -0.1753)
OKLCHoklch(45.7% 0.22 307.1)
XYZxyz(16.1675, 7.8218, 43.2971)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7816B3 #51B316
analogous
#2916B3 #7816B3 #B316A0
triadic
#7816B3 #B37816 #16B378
tetradic
#7816B3 #B32916 #51B316 #16A0B3
square
#7816B3 #B32916 #51B316 #16A0B3
split-complementary
#7816B3 #A0B316 #16B329
monochromatic
#2F0946 #530F7C #7816B3 #9B22E4 #B459EB

Accessibility & contrast

On white

8.19
#7816B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7816B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7816B3
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7816B3#FFFFFF#000000##FFFFFF
##7816B31.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#6E456A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7816b3;
/* rgb */ color: rgb(120, 22, 179);
/* oklch */ color: oklch(45.7% 0.220 307.1);
Tailwind
colors: {
  custom: {
    50: '#a564cb',
    500: '#7816b3',
    950: '#000000',
  },
}
SCSS
$custom: #7816b3;
$custom-light: #a564cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7816b3",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 179
  },
  "hsl": {
    "h": 277.452,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45695,
    "c": 0.21979,
    "h": 307.1
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#7816B3
secondary
#84CE57
accent
#F5337C
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7816B3

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

Preview Lab → · Contrast checker → · Palette generator →

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