#7C20A3#7C20A3

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

Color values

HEX#7C20A3
RGBrgb(124, 32, 163)
HSLhsl(282, 67%, 38%)
HSVhsv(282, 80%, 64%)
CMYKcmyk(23.9%, 80.4%, 0%, 36.1%)
CIE-LABlab(33.91, 57.70, -51.44)
CIE-LCHlch(33.91, 77.30, 318.28°)
OKLaboklab(45.63% 0.1358 -0.1456)
OKLCHoklch(45.63% 0.199 313)
XYZxyz(15.4384, 7.9629, 35.3670)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C20A3 #47A320
analogous
#3A20A3 #7C20A3 #A32088
triadic
#7C20A3 #A37C20 #20A37C
tetradic
#7C20A3 #A33A20 #47A320 #2088A3
square
#7C20A3 #A33A20 #47A320 #2088A3
split-complementary
#7C20A3 #88A320 #20A33A
monochromatic
#2E0C3D #551670 #7C20A3 #A32BD5 #B95EDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C20A3#FFFFFF#000000##FFFFFF
##7C20A31.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)
#004BA6
Deuteranopia (green-blind)
#0A52A0
Tritanopia (blue-blind)
#784062
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c20a3;
/* rgb */ color: rgb(124, 32, 163);
/* oklch */ color: oklch(45.6% 0.199 313.0);
Tailwind
colors: {
  custom: {
    50: '#a767bf',
    500: '#7c20a3',
    950: '#000000',
  },
}
SCSS
$custom: #7c20a3;
$custom-light: #a767bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c20a3",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 282.137,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45627,
    "c": 0.19907,
    "h": 313
  },
  "luminance": 0.07962
}

Semantic roles & 50–950 ramp

primary
#7C20A3
secondary
#7AC45B
accent
#EA3E71
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C20A3

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

Preview Lab → · Contrast checker → · Palette generator →

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