#7D219F#7D219F

#7D219F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.195 H 314.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7D219F
RGBrgb(125, 33, 159)
HSLhsl(284, 66%, 38%)
HSVhsv(284, 79%, 62%)
CMYKcmyk(21.4%, 79.2%, 0%, 37.6%)
CIE-LABlab(33.88, 56.74, -49.05)
CIE-LCHlch(33.88, 75.00, 319.16°)
OKLaboklab(45.55% 0.1371 -0.1385)
OKLCHoklch(45.55% 0.195 314.7)
XYZxyz(15.2583, 7.9514, 33.5252)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D219F #439F21
analogous
#3E219F #7D219F #9F2182
triadic
#7D219F #9F7D21 #219F7D
tetradic
#7D219F #9F3E21 #439F21 #21829F
square
#7D219F #9F3E21 #439F21 #21829F
split-complementary
#7D219F #829F21 #219F3E
monochromatic
#2D0C3A #55166C #7D219F #A52CD2 #BB5DDD

Accessibility & contrast

On white

8.11
#7D219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7D219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D219F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D219F#FFFFFF#000000##FFFFFF
##7D219F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#18529C
Tritanopia (blue-blind)
#7A3F60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d219f;
/* rgb */ color: rgb(125, 33, 159);
/* oklch */ color: oklch(45.5% 0.195 314.7);
Tailwind
colors: {
  custom: {
    50: '#a768bc',
    500: '#7d219f',
    950: '#000000',
  },
}
SCSS
$custom: #7d219f;
$custom-light: #a768bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d219f",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 283.81,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45549,
    "c": 0.19488,
    "h": 314.7
  },
  "luminance": 0.07951
}

Semantic roles & 50–950 ramp

primary
#7D219F
secondary
#76C25A
accent
#E93F6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D219F

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

Preview Lab → · Contrast checker → · Palette generator →

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