#7216AB#7216AB

#7216AB is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.2% C 0.211 H 306.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7216AB
RGBrgb(114, 22, 171)
HSLhsl(277, 77%, 38%)
HSVhsv(277, 87%, 67%)
CMYKcmyk(33.3%, 87.1%, 0%, 32.9%)
CIE-LABlab(32.01, 60.67, -59.40)
CIE-LCHlch(32.01, 84.90, 315.61°)
OKLaboklab(44.2% 0.1267 -0.1693)
OKLCHoklch(44.2% 0.211 306.8)
XYZxyz(14.5754, 7.0917, 39.1212)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7216AB #4FAB16
analogous
#2716AB #7216AB #AB1699
triadic
#7216AB #AB7216 #16AB72
tetradic
#7216AB #AB2716 #4FAB16 #1699AB
square
#7216AB #AB2716 #4FAB16 #1699AB
split-complementary
#7216AB #99AB16 #16AB27
monochromatic
#2A083F #4E0F75 #7216AB #961DE1 #AF53E9

Accessibility & contrast

On white

8.68
#7216AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7216AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7216AB
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7216AB#FFFFFF#000000##FFFFFF
##7216AB1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#684265
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7216ab;
/* rgb */ color: rgb(114, 22, 171);
/* oklch */ color: oklch(44.2% 0.211 306.8);
Tailwind
colors: {
  custom: {
    50: '#a163c5',
    500: '#7216ab',
    950: '#000000',
  },
}
SCSS
$custom: #7216ab;
$custom-light: #a163c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7216ab",
  "rgb": {
    "r": 114,
    "g": 22,
    "b": 171
  },
  "hsl": {
    "h": 277.047,
    "s": 77.202,
    "l": 37.843
  },
  "oklch": {
    "l": 0.442,
    "c": 0.21141,
    "h": 306.8
  },
  "luminance": 0.07092
}

Semantic roles & 50–950 ramp

primary
#7216AB
secondary
#80CB52
accent
#F4347D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7216AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7216AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva