#7D218A#7D218A

#7D218A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.176 H 322.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7D218A
RGBrgb(125, 33, 138)
HSLhsl(293, 61%, 34%)
HSVhsv(293, 76%, 54%)
CMYKcmyk(9.4%, 76.1%, 0%, 45.9%)
CIE-LABlab(32.44, 52.63, -38.50)
CIE-LCHlch(32.44, 65.21, 323.81°)
OKLaboklab(44.07% 0.1398 -0.1076)
OKLCHoklch(44.07% 0.176 322.4)
XYZxyz(13.5883, 7.2835, 24.7299)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D218A #2E8A21
analogous
#48218A #7D218A #8A2162
triadic
#7D218A #8A7D21 #218A7D
tetradic
#7D218A #8A4821 #2E8A21 #21628A
square
#7D218A #8A4821 #2E8A21 #21628A
split-complementary
#7D218A #628A21 #218A48
monochromatic
#240927 #501559 #7D218A #AA2DBB #C550D5

Accessibility & contrast

On white

8.55
#7D218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7D218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D218A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D218A#FFFFFF#000000##FFFFFF
##7D218A1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#315088
Tritanopia (blue-blind)
#7F3554
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d218a;
/* rgb */ color: rgb(125, 33, 138);
/* oklch */ color: oklch(44.1% 0.176 322.4);
Tailwind
colors: {
  custom: {
    50: '#a667ad',
    500: '#7d218a',
    950: '#000000',
  },
}
SCSS
$custom: #7d218a;
$custom-light: #a667ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d218a",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 292.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44074,
    "c": 0.17641,
    "h": 322.4
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#7D218A
secondary
#5BB94E
accent
#E54357
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D218A

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

Preview Lab → · Contrast checker → · Palette generator →

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