#7A219B#7A219B

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

Color values

HEX#7A219B
RGBrgb(122, 33, 155)
HSLhsl(284, 65%, 37%)
HSVhsv(284, 79%, 61%)
CMYKcmyk(21.3%, 78.7%, 0%, 39.2%)
CIE-LABlab(33.12, 55.35, -47.88)
CIE-LCHlch(33.12, 73.19, 319.14°)
OKLaboklab(44.83% 0.1339 -0.1352)
OKLCHoklch(44.83% 0.19 314.7)
XYZxyz(14.4853, 7.5924, 31.7064)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A219B #429B21
analogous
#3D219B #7A219B #9B217F
triadic
#7A219B #9B7A21 #219B7A
tetradic
#7A219B #9B3D21 #429B21 #217F9B
square
#7A219B #9B3D21 #429B21 #217F9B
split-complementary
#7A219B #7F9B21 #219B3D
monochromatic
#2B0C36 #521669 #7A219B #A22CCD #B95ADC

Accessibility & contrast

On white

8.34
#7A219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7A219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A219B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A219B#FFFFFF#000000##FFFFFF
##7A219B1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#195098
Tritanopia (blue-blind)
#773D5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a219b;
/* rgb */ color: rgb(122, 33, 155);
/* oklch */ color: oklch(44.8% 0.190 314.7);
Tailwind
colors: {
  custom: {
    50: '#a567b9',
    500: '#7a219b',
    950: '#000000',
  },
}
SCSS
$custom: #7a219b;
$custom-light: #a567b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a219b",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 283.77,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44826,
    "c": 0.19026,
    "h": 314.7
  },
  "luminance": 0.07592
}

Semantic roles & 50–950 ramp

primary
#7A219B
secondary
#74C058
accent
#E8406D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A219B

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

Preview Lab → · Contrast checker → · Palette generator →

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