#7C1CA6#7C1CA6

#7C1CA6 is a mid, highly saturated purple. Relative luminance 0.079; OKLCH L 45.6% C 0.205 H 312.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7C1CA6
RGBrgb(124, 28, 166)
HSLhsl(282, 71%, 38%)
HSVhsv(282, 83%, 65%)
CMYKcmyk(25.3%, 83.1%, 0%, 34.9%)
CIE-LABlab(33.71, 59.55, -53.56)
CIE-LCHlch(33.71, 80.09, 318.03°)
OKLaboklab(45.56% 0.1381 -0.1518)
OKLCHoklch(45.56% 0.205 312.3)
XYZxyz(15.6091, 7.8692, 36.7657)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1CA6 #46A61C
analogous
#371CA6 #7C1CA6 #A61C8B
triadic
#7C1CA6 #A67C1C #1CA67C
tetradic
#7C1CA6 #A6371C #46A61C #1C8BA6
square
#7C1CA6 #A6371C #46A61C #1C8BA6
split-complementary
#7C1CA6 #8BA61C #1CA637
monochromatic
#2E0A3D #551372 #7C1CA6 #A325DA #B959E3

Accessibility & contrast

On white

8.16
#7C1CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7C1CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1CA6
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1CA6#FFFFFF#000000##FFFFFF
##7C1CA61.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1ca6;
/* rgb */ color: rgb(124, 28, 166);
/* oklch */ color: oklch(45.6% 0.205 312.3);
Tailwind
colors: {
  custom: {
    50: '#a766c1',
    500: '#7c1ca6',
    950: '#000000',
  },
}
SCSS
$custom: #7c1ca6;
$custom-light: #a766c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1ca6",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 166
  },
  "hsl": {
    "h": 281.739,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.20523,
    "h": 312.3
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#7C1CA6
secondary
#79C757
accent
#EE3A71
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C1CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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