#7D20A8#7D20A8

#7D20A8 is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.2% C 0.204 H 311.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7D20A8
RGBrgb(125, 32, 168)
HSLhsl(281, 68%, 39%)
HSVhsv(281, 81%, 66%)
CMYKcmyk(25.6%, 81%, 0%, 34.1%)
CIE-LABlab(34.44, 58.90, -53.58)
CIE-LCHlch(34.44, 79.63, 317.71°)
OKLaboklab(46.15% 0.136 -0.1518)
OKLCHoklch(46.15% 0.204 311.9)
XYZxyz(16.0405, 8.2206, 37.7799)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D20A8 #4BA820
analogous
#3920A8 #7D20A8 #A8208F
triadic
#7D20A8 #A87D20 #20A87D
tetradic
#7D20A8 #A83920 #4BA820 #208FA8
square
#7D20A8 #A83920 #4BA820 #208FA8
split-complementary
#7D20A8 #8FA820 #20A839
monochromatic
#310C41 #571675 #7D20A8 #A22ED7 #B961E1

Accessibility & contrast

On white

7.94
#7D20A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D20A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D20A8
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D20A8#FFFFFF#000000##FFFFFF
##7D20A81.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#784265
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d20a8;
/* rgb */ color: rgb(125, 32, 168);
/* oklch */ color: oklch(46.2% 0.204 311.9);
Tailwind
colors: {
  custom: {
    50: '#a868c3',
    500: '#7d20a8',
    950: '#000000',
  },
}
SCSS
$custom: #7d20a8;
$custom-light: #a868c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d20a8",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 281.029,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4615,
    "c": 0.20385,
    "h": 311.9
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#7D20A8
secondary
#7FC65E
accent
#EB3D74
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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