#7216B4#7216B4

#7216B4 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 45.0% C 0.219 H 304.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7216B4
RGBrgb(114, 22, 180)
HSLhsl(275, 78%, 40%)
HSVhsv(275, 88%, 71%)
CMYKcmyk(36.7%, 87.8%, 0%, 29.4%)
CIE-LABlab(32.80, 62.59, -63.49)
CIE-LCHlch(32.80, 89.16, 314.59°)
OKLaboklab(44.98% 0.1236 -0.1813)
OKLCHoklch(44.98% 0.219 304.3)
XYZxyz(15.4626, 7.4466, 43.7939)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7216B4 #58B416
analogous
#2316B4 #7216B4 #B416A7
triadic
#7216B4 #B47216 #16B472
tetradic
#7216B4 #B42316 #58B416 #16A7B4
square
#7216B4 #B42316 #58B416 #16A7B4
split-complementary
#7216B4 #A7B416 #16B423
monochromatic
#2D0947 #4F0F7D #7216B4 #9323E4 #AE5AEB

Accessibility & contrast

On white

8.44
#7216B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7216B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7216B4
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7216B4#FFFFFF#000000##FFFFFF
##7216B41.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#65466A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7216b4;
/* rgb */ color: rgb(114, 22, 180);
/* oklch */ color: oklch(45.0% 0.219 304.3);
Tailwind
colors: {
  custom: {
    50: '#a264cc',
    500: '#7216b4',
    950: '#000000',
  },
}
SCSS
$custom: #7216b4;
$custom-light: #a264cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7216b4",
  "rgb": {
    "r": 114,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 274.937,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44984,
    "c": 0.21938,
    "h": 304.3
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#7216B4
secondary
#89CE58
accent
#F53384
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7216B4

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

Preview Lab → · Contrast checker → · Palette generator →

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