#7C1AA0#7C1AA0

#7C1AA0 is a dark, highly saturated purple. Relative luminance 0.076; OKLCH L 45.0% C 0.202 H 314.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7C1AA0
RGBrgb(124, 26, 160)
HSLhsl(284, 72%, 36%)
HSVhsv(284, 84%, 63%)
CMYKcmyk(22.5%, 83.8%, 0%, 37.3%)
CIE-LABlab(33.05, 58.91, -51.00)
CIE-LCHlch(33.05, 77.92, 319.12°)
OKLaboklab(44.96% 0.1409 -0.1443)
OKLCHoklch(44.96% 0.202 314.3)
XYZxyz(15.0257, 7.5625, 33.9191)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1AA0 #3EA01A
analogous
#391AA0 #7C1AA0 #A01A81
triadic
#7C1AA0 #A07C1A #1AA07C
tetradic
#7C1AA0 #A0391A #3EA01A #1A81A0
square
#7C1AA0 #A0391A #3EA01A #1A81A0
split-complementary
#7C1AA0 #81A01A #1AA039
monochromatic
#2A0937 #53116B #7C1AA0 #A523D5 #BC52E3

Accessibility & contrast

On white

8.36
#7C1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7C1AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1AA0
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1AA0#FFFFFF#000000##FFFFFF
##7C1AA01.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#09509D
Tritanopia (blue-blind)
#783C5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c1aa0;
/* rgb */ color: rgb(124, 26, 160);
/* oklch */ color: oklch(45.0% 0.202 314.3);
Tailwind
colors: {
  custom: {
    50: '#a765bd',
    500: '#7c1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #7c1aa0;
$custom-light: #a765bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1aa0",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 283.881,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44961,
    "c": 0.20165,
    "h": 314.3
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#7C1AA0
secondary
#70C550
accent
#EF396A
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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