#7D219C#7D219C

#7D219C is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.192 H 315.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7D219C
RGBrgb(125, 33, 156)
HSLhsl(285, 65%, 37%)
HSVhsv(285, 79%, 61%)
CMYKcmyk(19.9%, 78.8%, 0%, 38.8%)
CIE-LABlab(33.67, 56.13, -47.58)
CIE-LCHlch(33.67, 73.58, 319.72°)
OKLaboklab(45.33% 0.1376 -0.1342)
OKLCHoklch(45.33% 0.192 315.7)
XYZxyz(15.0011, 7.8486, 32.1708)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D219C #409C21
analogous
#40219C #7D219C #9C217E
triadic
#7D219C #9C7D21 #219C7D
tetradic
#7D219C #9C4021 #409C21 #217E9C
square
#7D219C #9C4021 #409C21 #217E9C
split-complementary
#7D219C #7E9C21 #219C40
monochromatic
#2C0C37 #551669 #7D219C #A52CCF #BC5BDC

Accessibility & contrast

On white

8.17
#7D219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7D219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D219C
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D219C#FFFFFF#000000##FFFFFF
##7D219C1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#1D5299
Tritanopia (blue-blind)
#7B3D5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d219c;
/* rgb */ color: rgb(125, 33, 156);
/* oklch */ color: oklch(45.3% 0.192 315.7);
Tailwind
colors: {
  custom: {
    50: '#a768ba',
    500: '#7d219c',
    950: '#000000',
  },
}
SCSS
$custom: #7d219c;
$custom-light: #a768ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d219c",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 284.878,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45328,
    "c": 0.19221,
    "h": 315.7
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#7D219C
secondary
#73C158
accent
#E8406A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D219C

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

Preview Lab → · Contrast checker → · Palette generator →

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