#7C1AA1#7C1AA1

#7C1AA1 is a mid, highly saturated purple. Relative luminance 0.076; OKLCH L 45.0% C 0.203 H 314.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7C1AA1
RGBrgb(124, 26, 161)
HSLhsl(284, 72%, 37%)
HSVhsv(284, 84%, 63%)
CMYKcmyk(23%, 83.9%, 0%, 36.9%)
CIE-LABlab(33.13, 59.11, -51.48)
CIE-LCHlch(33.13, 78.39, 318.95°)
OKLaboklab(45.04% 0.1407 -0.1457)
OKLCHoklch(45.04% 0.203 314)
XYZxyz(15.1135, 7.5976, 34.3817)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1AA1 #3FA11A
analogous
#391AA1 #7C1AA1 #A11A83
triadic
#7C1AA1 #A17C1A #1AA17C
tetradic
#7C1AA1 #A1391A #3FA11A #1A83A1
square
#7C1AA1 #A1391A #3FA11A #1A83A1
split-complementary
#7C1AA1 #83A11A #1AA139
monochromatic
#2B0938 #53116C #7C1AA1 #A523D6 #BB52E3

Accessibility & contrast

On white

8.34
#7C1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7C1AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1AA1
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1AA1#FFFFFF#000000##FFFFFF
##7C1AA11.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#06509E
Tritanopia (blue-blind)
#783D60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c1aa1;
/* rgb */ color: rgb(124, 26, 161);
/* oklch */ color: oklch(45.0% 0.203 314.0);
Tailwind
colors: {
  custom: {
    50: '#a765be',
    500: '#7c1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #7c1aa1;
$custom-light: #a765be;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1aa1",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 283.556,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45037,
    "c": 0.20251,
    "h": 314
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#7C1AA1
secondary
#71C651
accent
#EF396B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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