#7C20A8#7C20A8

#7C20A8 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 46.0% C 0.204 H 311.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7C20A8
RGBrgb(124, 32, 168)
HSLhsl(281, 68%, 39%)
HSVhsv(281, 81%, 66%)
CMYKcmyk(26.2%, 81%, 0%, 34.1%)
CIE-LABlab(34.28, 58.73, -53.83)
CIE-LCHlch(34.28, 79.67, 317.49°)
OKLaboklab(46.01% 0.1347 -0.1526)
OKLCHoklch(46.01% 0.204 311.4)
XYZxyz(15.8952, 8.1457, 37.7731)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C20A8 #4CA820
analogous
#3820A8 #7C20A8 #A82090
triadic
#7C20A8 #A87C20 #20A87C
tetradic
#7C20A8 #A83820 #4CA820 #2090A8
square
#7C20A8 #A83820 #4CA820 #2090A8
split-complementary
#7C20A8 #90A820 #20A838
monochromatic
#300C41 #561675 #7C20A8 #A02ED7 #B861E1

Accessibility & contrast

On white

7.99
#7C20A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7C20A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C20A8
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C20A8#FFFFFF#000000##FFFFFF
##7C20A81.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#764365
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c20a8;
/* rgb */ color: rgb(124, 32, 168);
/* oklch */ color: oklch(46.0% 0.204 311.4);
Tailwind
colors: {
  custom: {
    50: '#a768c3',
    500: '#7c20a8',
    950: '#000000',
  },
}
SCSS
$custom: #7c20a8;
$custom-light: #a768c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c20a8",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 280.588,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46011,
    "c": 0.20355,
    "h": 311.4
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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