#7D20AA#7D20AA

#7D20AA is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.3% C 0.206 H 311.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7D20AA
RGBrgb(125, 32, 170)
HSLhsl(280, 68%, 40%)
HSVhsv(280, 81%, 67%)
CMYKcmyk(26.5%, 81.2%, 0%, 33.3%)
CIE-LABlab(34.59, 59.32, -54.53)
CIE-LCHlch(34.59, 80.57, 317.41°)
OKLaboklab(46.31% 0.1356 -0.1546)
OKLCHoklch(46.31% 0.206 311.2)
XYZxyz(16.2283, 8.2957, 38.7688)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D20AA #4DAA20
analogous
#3820AA #7D20AA #AA2092
triadic
#7D20AA #AA7D20 #20AA7D
tetradic
#7D20AA #AA3820 #4DAA20 #2092AA
square
#7D20AA #AA3820 #4DAA20 #2092AA
split-complementary
#7D20AA #92AA20 #20AA38
monochromatic
#310D43 #571676 #7D20AA #A12FD8 #B863E2

Accessibility & contrast

On white

7.90
#7D20AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7D20AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D20AA
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D20AA#FFFFFF#000000##FFFFFF
##7D20AA1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d20aa;
/* rgb */ color: rgb(125, 32, 170);
/* oklch */ color: oklch(46.3% 0.206 311.2);
Tailwind
colors: {
  custom: {
    50: '#a868c4',
    500: '#7d20aa',
    950: '#000000',
  },
}
SCSS
$custom: #7d20aa;
$custom-light: #a868c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d20aa",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 280.435,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46305,
    "c": 0.20564,
    "h": 311.2
  },
  "luminance": 0.08295
}

Semantic roles & 50–950 ramp

primary
#7D20AA
secondary
#81C75F
accent
#EB3D76
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D20AA

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

Preview Lab → · Contrast checker → · Palette generator →

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