#7D20A0#7D20A0

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

Color values

HEX#7D20A0
RGBrgb(125, 32, 160)
HSLhsl(284, 67%, 38%)
HSVhsv(284, 80%, 63%)
CMYKcmyk(21.9%, 80%, 0%, 37.3%)
CIE-LABlab(33.84, 57.27, -49.72)
CIE-LCHlch(33.84, 75.84, 319.04°)
OKLaboklab(45.54% 0.1377 -0.1405)
OKLCHoklch(45.54% 0.197 314.4)
XYZxyz(15.3180, 7.9316, 33.9749)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D20A0 #43A020
analogous
#3D20A0 #7D20A0 #A02083
triadic
#7D20A0 #A07D20 #20A07D
tetradic
#7D20A0 #A03D20 #43A020 #2083A0
square
#7D20A0 #A03D20 #43A020 #2083A0
split-complementary
#7D20A0 #83A020 #20A03D
monochromatic
#2D0C3A #55166D #7D20A0 #A52AD3 #BB5CDE

Accessibility & contrast

On white

8.12
#7D20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D20A0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D20A0#FFFFFF#000000##FFFFFF
##7D20A01.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#15529D
Tritanopia (blue-blind)
#7A3F60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d20a0;
/* rgb */ color: rgb(125, 32, 160);
/* oklch */ color: oklch(45.5% 0.197 314.4);
Tailwind
colors: {
  custom: {
    50: '#a767bd',
    500: '#7d20a0',
    950: '#000000',
  },
}
SCSS
$custom: #7d20a0;
$custom-light: #a767bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d20a0",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 283.594,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.19673,
    "h": 314.4
  },
  "luminance": 0.07931
}

Semantic roles & 50–950 ramp

primary
#7D20A0
secondary
#76C359
accent
#EA3E6D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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