#7C20A9#7C20A9

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

Color values

HEX#7C20A9
RGBrgb(124, 32, 169)
HSLhsl(280, 68%, 39%)
HSVhsv(280, 81%, 66%)
CMYKcmyk(26.6%, 81.1%, 0%, 33.7%)
CIE-LABlab(34.36, 58.94, -54.31)
CIE-LCHlch(34.36, 80.14, 317.34°)
OKLaboklab(46.09% 0.1344 -0.154)
OKLCHoklch(46.09% 0.204 311.1)
XYZxyz(15.9887, 8.1831, 38.2657)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C20A9 #4DA920
analogous
#3820A9 #7C20A9 #A92092
triadic
#7C20A9 #A97C20 #20A97C
tetradic
#7C20A9 #A93820 #4DA920 #2092A9
square
#7C20A9 #A93820 #4DA920 #2092A9
split-complementary
#7C20A9 #92A920 #20A938
monochromatic
#300D42 #561676 #7C20A9 #A02FD8 #B862E1

Accessibility & contrast

On white

7.96
#7C20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C20A9
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C20A9#FFFFFF#000000##FFFFFF
##7C20A91.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c20a9;
/* rgb */ color: rgb(124, 32, 169);
/* oklch */ color: oklch(46.1% 0.204 311.1);
Tailwind
colors: {
  custom: {
    50: '#a768c3',
    500: '#7c20a9',
    950: '#000000',
  },
}
SCSS
$custom: #7c20a9;
$custom-light: #a768c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c20a9",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 280.292,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46089,
    "c": 0.20445,
    "h": 311.1
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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