#7A219A#7A219A

#7A219A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.189 H 315.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7A219A
RGBrgb(122, 33, 154)
HSLhsl(284, 65%, 37%)
HSVhsv(284, 79%, 60%)
CMYKcmyk(20.8%, 78.6%, 0%, 39.6%)
CIE-LABlab(33.05, 55.15, -47.38)
CIE-LCHlch(33.05, 72.71, 319.33°)
OKLaboklab(44.75% 0.134 -0.1337)
OKLCHoklch(44.75% 0.189 315.1)
XYZxyz(14.4017, 7.5589, 31.2660)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A219A #419A21
analogous
#3E219A #7A219A #9A217E
triadic
#7A219A #9A7A21 #219A7A
tetradic
#7A219A #9A3E21 #419A21 #217E9A
square
#7A219A #9A3E21 #419A21 #217E9A
split-complementary
#7A219A #7E9A21 #219A3E
monochromatic
#2A0B35 #521668 #7A219A #A22CCC #B95ADC

Accessibility & contrast

On white

8.36
#7A219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7A219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A219A
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A219A#FFFFFF#000000##FFFFFF
##7A219A1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#1B5097
Tritanopia (blue-blind)
#773D5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a219a;
/* rgb */ color: rgb(122, 33, 154);
/* oklch */ color: oklch(44.8% 0.189 315.1);
Tailwind
colors: {
  custom: {
    50: '#a567b8',
    500: '#7a219a',
    950: '#000000',
  },
}
SCSS
$custom: #7a219a;
$custom-light: #a567b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a219a",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 284.132,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44752,
    "c": 0.18936,
    "h": 315.1
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

primary
#7A219A
secondary
#73C057
accent
#E8406C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A219A

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

Preview Lab → · Contrast checker → · Palette generator →

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