#7A219D#7A219D

#7A219D is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.192 H 314.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7A219D
RGBrgb(122, 33, 157)
HSLhsl(283, 65%, 37%)
HSVhsv(283, 79%, 62%)
CMYKcmyk(22.3%, 79%, 0%, 38.4%)
CIE-LABlab(33.26, 55.76, -48.86)
CIE-LCHlch(33.26, 74.14, 318.78°)
OKLaboklab(44.97% 0.1335 -0.1381)
OKLCHoklch(44.97% 0.192 314)
XYZxyz(14.6547, 7.6601, 32.5983)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A219D #449D21
analogous
#3C219D #7A219D #9D2182
triadic
#7A219D #9D7A21 #219D7A
tetradic
#7A219D #9D3C21 #449D21 #21829D
square
#7A219D #9D3C21 #449D21 #21829D
split-complementary
#7A219D #829D21 #219D3C
monochromatic
#2B0C38 #53166A #7A219D #A12CD0 #B85CDD

Accessibility & contrast

On white

8.29
#7A219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7A219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A219D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A219D#FFFFFF#000000##FFFFFF
##7A219D1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#15509A
Tritanopia (blue-blind)
#773E5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a219d;
/* rgb */ color: rgb(122, 33, 157);
/* oklch */ color: oklch(45.0% 0.192 314.0);
Tailwind
colors: {
  custom: {
    50: '#a567bb',
    500: '#7a219d',
    950: '#000000',
  },
}
SCSS
$custom: #7a219d;
$custom-light: #a567bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a219d",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 283.065,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44974,
    "c": 0.19206,
    "h": 314
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#7A219D
secondary
#76C159
accent
#E8406F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A219D

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

Preview Lab → · Contrast checker → · Palette generator →

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