#7D20A9#7D20A9

#7D20A9 is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.2% C 0.205 H 311.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7D20A9
RGBrgb(125, 32, 169)
HSLhsl(281, 68%, 39%)
HSVhsv(281, 81%, 66%)
CMYKcmyk(26%, 81.1%, 0%, 33.7%)
CIE-LABlab(34.51, 59.11, -54.05)
CIE-LCHlch(34.51, 80.10, 317.56°)
OKLaboklab(46.23% 0.1358 -0.1532)
OKLCHoklch(46.23% 0.205 311.5)
XYZxyz(16.1340, 8.2580, 38.2725)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D20A9 #4CA920
analogous
#3920A9 #7D20A9 #A92091
triadic
#7D20A9 #A97D20 #20A97D
tetradic
#7D20A9 #A93920 #4CA920 #2091A9
square
#7D20A9 #A93920 #4CA920 #2091A9
split-complementary
#7D20A9 #91A920 #20A939
monochromatic
#310D42 #571676 #7D20A9 #A12FD8 #B862E1

Accessibility & contrast

On white

7.92
#7D20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D20A9
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D20A9#FFFFFF#000000##FFFFFF
##7D20A91.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#774366
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d20a9;
/* rgb */ color: rgb(125, 32, 169);
/* oklch */ color: oklch(46.2% 0.205 311.5);
Tailwind
colors: {
  custom: {
    50: '#a868c3',
    500: '#7d20a9',
    950: '#000000',
  },
}
SCSS
$custom: #7d20a9;
$custom-light: #a868c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d20a9",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 280.73,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46227,
    "c": 0.20474,
    "h": 311.5
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

primary
#7D20A9
secondary
#80C65F
accent
#EB3D75
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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