#7216B3#7216B3

#7216B3 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.9% C 0.218 H 304.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7216B3
RGBrgb(114, 22, 179)
HSLhsl(275, 78%, 39%)
HSVhsv(275, 88%, 70%)
CMYKcmyk(36.3%, 87.7%, 0%, 29.8%)
CIE-LABlab(32.71, 62.38, -63.04)
CIE-LCHlch(32.71, 88.69, 314.70°)
OKLaboklab(44.9% 0.1239 -0.1799)
OKLCHoklch(44.9% 0.218 304.6)
XYZxyz(15.3611, 7.4060, 43.2593)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7216B3 #57B316
analogous
#2316B3 #7216B3 #B316A6
triadic
#7216B3 #B37216 #16B372
tetradic
#7216B3 #B32316 #57B316 #16A6B3
square
#7216B3 #B32316 #57B316 #16A6B3
split-complementary
#7216B3 #A6B316 #16B323
monochromatic
#2D0946 #4F0F7C #7216B3 #9422E4 #AE59EB

Accessibility & contrast

On white

8.46
#7216B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7216B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7216B3
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7216B3#FFFFFF#000000##FFFFFF
##7216B31.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7216b3;
/* rgb */ color: rgb(114, 22, 179);
/* oklch */ color: oklch(44.9% 0.218 304.6);
Tailwind
colors: {
  custom: {
    50: '#a164cb',
    500: '#7216b3',
    950: '#000000',
  },
}
SCSS
$custom: #7216b3;
$custom-light: #a164cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7216b3",
  "rgb": {
    "r": 114,
    "g": 22,
    "b": 179
  },
  "hsl": {
    "h": 275.159,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44895,
    "c": 0.21849,
    "h": 304.6
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#7216B3
secondary
#88CE57
accent
#F53383
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7216B3

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

Preview Lab → · Contrast checker → · Palette generator →

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