#7C1AA7#7C1AA7

#7C1AA7 is a mid, highly saturated purple. Relative luminance 0.078; OKLCH L 45.5% C 0.208 H 312.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7C1AA7
RGBrgb(124, 26, 167)
HSLhsl(282, 73%, 38%)
HSVhsv(282, 84%, 65%)
CMYKcmyk(25.7%, 84.4%, 0%, 34.5%)
CIE-LABlab(33.59, 60.32, -54.36)
CIE-LCHlch(33.59, 81.19, 317.98°)
OKLaboklab(45.51% 0.1392 -0.1541)
OKLCHoklch(45.51% 0.208 312.1)
XYZxyz(15.6553, 7.8143, 37.2354)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1AA7 #45A71A
analogous
#351AA7 #7C1AA7 #A71A8B
triadic
#7C1AA7 #A77C1A #1AA77C
tetradic
#7C1AA7 #A7351A #45A71A #1A8BA7
square
#7C1AA7 #A7351A #45A71A #1A8BA7
split-complementary
#7C1AA7 #8BA71A #1AA735
monochromatic
#2D0A3D #551272 #7C1AA7 #A322DC #B957E5

Accessibility & contrast

On white

8.19
#7C1AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7C1AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1AA7
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1AA7#FFFFFF#000000##FFFFFF
##7C1AA71.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#774063
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c1aa7;
/* rgb */ color: rgb(124, 26, 167);
/* oklch */ color: oklch(45.5% 0.208 312.1);
Tailwind
colors: {
  custom: {
    50: '#a766c2',
    500: '#7c1aa7',
    950: '#000000',
  },
}
SCSS
$custom: #7c1aa7;
$custom-light: #a766c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1aa7",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 167
  },
  "hsl": {
    "h": 281.702,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45505,
    "c": 0.20768,
    "h": 312.1
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#7C1AA7
secondary
#78C855
accent
#F03870
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C1AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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