#7D20A1#7D20A1

#7D20A1 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.198 H 314.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7D20A1
RGBrgb(125, 32, 161)
HSLhsl(283, 67%, 38%)
HSVhsv(283, 80%, 63%)
CMYKcmyk(22.4%, 80.1%, 0%, 36.9%)
CIE-LABlab(33.91, 57.47, -50.21)
CIE-LCHlch(33.91, 76.31, 318.86°)
OKLaboklab(45.62% 0.1375 -0.1419)
OKLCHoklch(45.62% 0.198 314.1)
XYZxyz(15.4059, 7.9667, 34.4375)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D20A1 #44A120
analogous
#3D20A1 #7D20A1 #A12084
triadic
#7D20A1 #A17D20 #20A17D
tetradic
#7D20A1 #A13D20 #44A120 #2084A1
square
#7D20A1 #A13D20 #44A120 #2084A1
split-complementary
#7D20A1 #84A120 #20A13D
monochromatic
#2E0C3B #55166E #7D20A1 #A52AD4 #BA5DDF

Accessibility & contrast

On white

8.10
#7D20A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7D20A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D20A1
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D20A1#FFFFFF#000000##FFFFFF
##7D20A11.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#13529E
Tritanopia (blue-blind)
#793F61
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d20a1;
/* rgb */ color: rgb(125, 32, 161);
/* oklch */ color: oklch(45.6% 0.198 314.1);
Tailwind
colors: {
  custom: {
    50: '#a768be',
    500: '#7d20a1',
    950: '#000000',
  },
}
SCSS
$custom: #7d20a1;
$custom-light: #a768be;
$custom-dark: #000000;
JSON
{
  "hex": "#7d20a1",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 283.256,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45617,
    "c": 0.19762,
    "h": 314.1
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#7D20A1
secondary
#77C35A
accent
#EA3E6E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D20A1

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

Preview Lab → · Contrast checker → · Palette generator →

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