#7D20A5#7D20A5

#7D20A5 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 45.9% C 0.201 H 312.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7D20A5
RGBrgb(125, 32, 165)
HSLhsl(282, 68%, 39%)
HSVhsv(282, 81%, 65%)
CMYKcmyk(24.2%, 80.6%, 0%, 35.3%)
CIE-LABlab(34.21, 58.29, -52.14)
CIE-LCHlch(34.21, 78.21, 318.19°)
OKLaboklab(45.92% 0.1367 -0.1476)
OKLCHoklch(45.92% 0.201 312.8)
XYZxyz(15.7643, 8.1101, 36.3250)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D20A5 #48A520
analogous
#3A20A5 #7D20A5 #A5208A
triadic
#7D20A5 #A57D20 #20A57D
tetradic
#7D20A5 #A53A20 #48A520 #208AA5
square
#7D20A5 #A53A20 #48A520 #208AA5
split-complementary
#7D20A5 #8AA520 #20A53A
monochromatic
#2F0C3E #561672 #7D20A5 #A32CD6 #B95FE0

Accessibility & contrast

On white

8.01
#7D20A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7D20A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D20A5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D20A5#FFFFFF#000000##FFFFFF
##7D20A51.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#0752A2
Tritanopia (blue-blind)
#784163
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d20a5;
/* rgb */ color: rgb(125, 32, 165);
/* oklch */ color: oklch(45.9% 0.201 312.8);
Tailwind
colors: {
  custom: {
    50: '#a768c0',
    500: '#7d20a5',
    950: '#000000',
  },
}
SCSS
$custom: #7d20a5;
$custom-light: #a768c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d20a5",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 281.955,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4592,
    "c": 0.20117,
    "h": 312.8
  },
  "luminance": 0.0811
}

Semantic roles & 50–950 ramp

primary
#7D20A5
secondary
#7CC55C
accent
#EA3D71
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D20A5

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

Preview Lab → · Contrast checker → · Palette generator →

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