#7D219E#7D219E

#7D219E is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.194 H 315.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7D219E
RGBrgb(125, 33, 158)
HSLhsl(284, 65%, 37%)
HSVhsv(284, 79%, 62%)
CMYKcmyk(20.9%, 79.1%, 0%, 38%)
CIE-LABlab(33.81, 56.53, -48.56)
CIE-LCHlch(33.81, 74.53, 319.34°)
OKLaboklab(45.48% 0.1372 -0.1371)
OKLCHoklch(45.48% 0.194 315)
XYZxyz(15.1718, 7.9169, 33.0700)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D219E #429E21
analogous
#3F219E #7D219E #9E2181
triadic
#7D219E #9E7D21 #219E7D
tetradic
#7D219E #9E3F21 #429E21 #21819E
square
#7D219E #9E3F21 #429E21 #21819E
split-complementary
#7D219E #819E21 #219E3F
monochromatic
#2D0C39 #55166B #7D219E #A52CD1 #BB5CDD

Accessibility & contrast

On white

8.13
#7D219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7D219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D219E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D219E#FFFFFF#000000##FFFFFF
##7D219E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#1A529B
Tritanopia (blue-blind)
#7A3E5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d219e;
/* rgb */ color: rgb(125, 33, 158);
/* oklch */ color: oklch(45.5% 0.194 315.0);
Tailwind
colors: {
  custom: {
    50: '#a768bb',
    500: '#7d219e',
    950: '#000000',
  },
}
SCSS
$custom: #7d219e;
$custom-light: #a768bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d219e",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 284.16,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45475,
    "c": 0.19399,
    "h": 315
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#7D219E
secondary
#75C159
accent
#E83F6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D219E

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

Preview Lab → · Contrast checker → · Palette generator →

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