#7D20A4#7D20A4

#7D20A4 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 45.8% C 0.200 H 313.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7D20A4
RGBrgb(125, 32, 164)
HSLhsl(282, 67%, 38%)
HSVhsv(282, 80%, 64%)
CMYKcmyk(23.8%, 80.5%, 0%, 35.7%)
CIE-LABlab(34.14, 58.08, -51.66)
CIE-LCHlch(34.14, 77.73, 318.35°)
OKLaboklab(45.84% 0.1369 -0.1462)
OKLCHoklch(45.84% 0.2 313.1)
XYZxyz(15.6736, 8.0738, 35.8475)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D20A4 #47A420
analogous
#3B20A4 #7D20A4 #A42089
triadic
#7D20A4 #A47D20 #20A47D
tetradic
#7D20A4 #A43B20 #47A420 #2089A4
square
#7D20A4 #A43B20 #47A420 #2089A4
split-complementary
#7D20A4 #89A420 #20A43B
monochromatic
#2F0C3E #561671 #7D20A4 #A32BD6 #BA5FE0

Accessibility & contrast

On white

8.03
#7D20A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7D20A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D20A4
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D20A4#FFFFFF#000000##FFFFFF
##7D20A41.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0A52A1
Tritanopia (blue-blind)
#794163
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d20a4;
/* rgb */ color: rgb(125, 32, 164);
/* oklch */ color: oklch(45.8% 0.200 313.1);
Tailwind
colors: {
  custom: {
    50: '#a768c0',
    500: '#7d20a4',
    950: '#000000',
  },
}
SCSS
$custom: #7d20a4;
$custom-light: #a768c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d20a4",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 164
  },
  "hsl": {
    "h": 282.273,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45844,
    "c": 0.20028,
    "h": 313.1
  },
  "luminance": 0.08073
}

Semantic roles & 50–950 ramp

primary
#7D20A4
secondary
#7AC45C
accent
#EA3E71
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D20A4

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

Preview Lab → · Contrast checker → · Palette generator →

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