#7A219F#7A219F

#7A219F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.194 H 313.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7A219F
RGBrgb(122, 33, 159)
HSLhsl(282, 66%, 38%)
HSVhsv(282, 79%, 62%)
CMYKcmyk(23.3%, 79.2%, 0%, 37.6%)
CIE-LABlab(33.41, 56.17, -49.83)
CIE-LCHlch(33.41, 75.09, 318.42°)
OKLaboklab(45.12% 0.1331 -0.1409)
OKLCHoklch(45.12% 0.194 313.4)
XYZxyz(14.8268, 7.7290, 33.5050)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A219F #469F21
analogous
#3B219F #7A219F #9F2185
triadic
#7A219F #9F7A21 #219F7A
tetradic
#7A219F #9F3B21 #469F21 #21859F
square
#7A219F #9F3B21 #469F21 #21859F
split-complementary
#7A219F #859F21 #219F3B
monochromatic
#2C0C3A #53166C #7A219F #A12CD2 #B85DDD

Accessibility & contrast

On white

8.25
#7A219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7A219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A219F
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A219F#FFFFFF#000000##FFFFFF
##7A219F1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#11509C
Tritanopia (blue-blind)
#763F60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a219f;
/* rgb */ color: rgb(122, 33, 159);
/* oklch */ color: oklch(45.1% 0.194 313.4);
Tailwind
colors: {
  custom: {
    50: '#a567bc',
    500: '#7a219f',
    950: '#000000',
  },
}
SCSS
$custom: #7a219f;
$custom-light: #a567bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a219f",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 282.381,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45124,
    "c": 0.19388,
    "h": 313.4
  },
  "luminance": 0.07728
}

Semantic roles & 50–950 ramp

primary
#7A219F
secondary
#78C25A
accent
#E93F71
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A219F

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

Preview Lab → · Contrast checker → · Palette generator →

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