#7816E2#7816E2

#7816E2 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 50.0% C 0.261 H 296.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7816E2
RGBrgb(120, 22, 226)
HSLhsl(269, 82%, 49%)
HSVhsv(269, 90%, 89%)
CMYKcmyk(46.9%, 90.3%, 0%, 11.4%)
CIE-LABlab(37.95, 73.34, -81.82)
CIE-LCHlch(37.95, 109.88, 311.87°)
OKLaboklab(49.97% 0.1145 -0.2348)
OKLCHoklch(49.97% 0.261 296)
XYZxyz(21.7564, 10.0573, 72.7317)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7816E2 #80E216
analogous
#161AE2 #7816E2 #DE16E2
triadic
#7816E2 #E27816 #16E278
tetradic
#7816E2 #E2161A #80E216 #16E2DE
square
#7816E2 #E2161A #80E216 #16E2DE
split-complementary
#7816E2 #E2DE16 #1AE216
monochromatic
#3D0B72 #5A11AA #7816E2 #9748ED #B780F3

Accessibility & contrast

On white

6.97
#7816E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7816E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7816E2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7816E2#FFFFFF#000000##FFFFFF
##7816E21.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE7
Deuteranopia (green-blind)
#0056DF
Tritanopia (blue-blind)
#595B86
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7816e2;
/* rgb */ color: rgb(120, 22, 226);
/* oklch */ color: oklch(50.0% 0.261 296.0);
Tailwind
colors: {
  custom: {
    50: '#aa68ed',
    500: '#7816e2',
    950: '#000000',
  },
}
SCSS
$custom: #7816e2;
$custom-light: #aa68ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7816e2",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 226
  },
  "hsl": {
    "h": 268.824,
    "s": 82.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49967,
    "c": 0.26122,
    "h": 296
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#7816E2
secondary
#ACDB79
accent
#F92F98
background
#FBF6FE
surface
#F6ECFD
border
#D0C7D5
text
#110716
muted
#807A84

Preview Lab

Preview with #7816E2

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

Preview Lab → · Contrast checker → · Palette generator →

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