#7A216E#7A216E

#7A216E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.9% C 0.152 H 333.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#7A216E
RGBrgb(122, 33, 110)
HSLhsl(308, 57%, 30%)
HSVhsv(308, 73%, 48%)
CMYKcmyk(0%, 73%, 9.8%, 52.2%)
CIE-LABlab(30.28, 46.97, -24.35)
CIE-LCHlch(30.28, 52.91, 332.60°)
OKLaboklab(41.9% 0.1361 -0.0666)
OKLCHoklch(41.9% 0.152 333.9)
XYZxyz(11.3845, 6.3520, 15.3753)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A216E #217A2D
analogous
#59217A #7A216E #7A2141
triadic
#7A216E #6E7A21 #216E7A
tetradic
#7A216E #7A5921 #217A2D #21417A
square
#7A216E #7A5921 #217A2D #21417A
split-complementary
#7A216E #417A21 #217A59
monochromatic
#1A0717 #4A1443 #7A216E #AA2E99 #CD48BB

Accessibility & contrast

On white

9.25
#7A216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7A216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A216E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A216E#FFFFFF#000000##FFFFFF
##7A216E1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#3F4C6C
Tritanopia (blue-blind)
#802945
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a216e;
/* rgb */ color: rgb(122, 33, 110);
/* oklch */ color: oklch(41.9% 0.152 333.9);
Tailwind
colors: {
  custom: {
    50: '#a36598',
    500: '#7a216e',
    950: '#000000',
  },
}
SCSS
$custom: #7a216e;
$custom-light: #a36598;
$custom-dark: #000000;
JSON
{
  "hex": "#7a216e",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 308.09,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41896,
    "c": 0.15155,
    "h": 333.9
  },
  "luminance": 0.06351
}

Semantic roles & 50–950 ramp

primary
#7A216E
secondary
#4AAD57
accent
#E15C47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A216E

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

Preview Lab → · Contrast checker → · Palette generator →

#7A216E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva