#7D219A#7D219A

#7D219A is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.190 H 316.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7D219A
RGBrgb(125, 33, 154)
HSLhsl(286, 65%, 37%)
HSVhsv(286, 79%, 60%)
CMYKcmyk(18.8%, 78.6%, 0%, 39.6%)
CIE-LABlab(33.52, 55.73, -46.59)
CIE-LCHlch(33.52, 72.64, 320.11°)
OKLaboklab(45.18% 0.1379 -0.1313)
OKLCHoklch(45.18% 0.19 316.4)
XYZxyz(14.8331, 7.7814, 31.2862)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D219A #3E9A21
analogous
#41219A #7D219A #9A217B
triadic
#7D219A #9A7D21 #219A7D
tetradic
#7D219A #9A4121 #3E9A21 #217B9A
square
#7D219A #9A4121 #3E9A21 #217B9A
split-complementary
#7D219A #7B9A21 #219A41
monochromatic
#2B0B35 #541668 #7D219A #A62CCC #BC5ADC

Accessibility & contrast

On white

8.22
#7D219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7D219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D219A
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D219A#FFFFFF#000000##FFFFFF
##7D219A1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#7B3C5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d219a;
/* rgb */ color: rgb(125, 33, 154);
/* oklch */ color: oklch(45.2% 0.190 316.4);
Tailwind
colors: {
  custom: {
    50: '#a768b8',
    500: '#7d219a',
    950: '#000000',
  },
}
SCSS
$custom: #7d219a;
$custom-light: #a768b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d219a",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 285.62,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45183,
    "c": 0.19043,
    "h": 316.4
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#7D219A
secondary
#70C057
accent
#E84068
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D219A

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

Preview Lab → · Contrast checker → · Palette generator →

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