#7D20A3#7D20A3

#7D20A3 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.8% C 0.199 H 313.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7D20A3
RGBrgb(125, 32, 163)
HSLhsl(283, 67%, 38%)
HSVhsv(283, 80%, 64%)
CMYKcmyk(23.3%, 80.4%, 0%, 36.1%)
CIE-LABlab(34.06, 57.88, -51.18)
CIE-LCHlch(34.06, 77.26, 318.52°)
OKLaboklab(45.77% 0.1371 -0.1448)
OKLCHoklch(45.77% 0.199 313.4)
XYZxyz(15.5837, 8.0379, 35.3738)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D20A3 #46A320
analogous
#3B20A3 #7D20A3 #A32087
triadic
#7D20A3 #A37D20 #20A37D
tetradic
#7D20A3 #A33B20 #46A320 #2087A3
square
#7D20A3 #A33B20 #46A320 #2087A3
split-complementary
#7D20A3 #87A320 #20A33B
monochromatic
#2F0C3D #561670 #7D20A3 #A42BD5 #BA5EDF

Accessibility & contrast

On white

8.05
#7D20A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D20A3
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D20A3#FFFFFF#000000##FFFFFF
##7D20A31.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#0E52A0
Tritanopia (blue-blind)
#794062
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d20a3;
/* rgb */ color: rgb(125, 32, 163);
/* oklch */ color: oklch(45.8% 0.199 313.4);
Tailwind
colors: {
  custom: {
    50: '#a768bf',
    500: '#7d20a3',
    950: '#000000',
  },
}
SCSS
$custom: #7d20a3;
$custom-light: #a768bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d20a3",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 282.595,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45768,
    "c": 0.19939,
    "h": 313.4
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#7D20A3
secondary
#79C45B
accent
#EA3E70
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D20A3

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

Preview Lab → · Contrast checker → · Palette generator →

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