#7C1CA8#7C1CA8

#7C1CA8 is a mid, highly saturated purple. Relative luminance 0.079; OKLCH L 45.7% C 0.207 H 311.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7C1CA8
RGBrgb(124, 28, 168)
HSLhsl(281, 71%, 38%)
HSVhsv(281, 83%, 66%)
CMYKcmyk(26.2%, 83.3%, 0%, 34.1%)
CIE-LABlab(33.86, 59.95, -54.52)
CIE-LCHlch(33.86, 81.03, 317.72°)
OKLaboklab(45.72% 0.1376 -0.1546)
OKLCHoklch(45.72% 0.207 311.7)
XYZxyz(15.7940, 7.9432, 37.7394)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1CA8 #48A81C
analogous
#361CA8 #7C1CA8 #A81C8E
triadic
#7C1CA8 #A87C1C #1CA87C
tetradic
#7C1CA8 #A8361C #48A81C #1C8EA8
square
#7C1CA8 #A8361C #48A81C #1C8EA8
split-complementary
#7C1CA8 #8EA81C #1CA836
monochromatic
#2F0B3F #551374 #7C1CA8 #A226DB #B95BE4

Accessibility & contrast

On white

8.11
#7C1CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1CA8
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1CA8#FFFFFF#000000##FFFFFF
##7C1CA81.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#764164
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c1ca8;
/* rgb */ color: rgb(124, 28, 168);
/* oklch */ color: oklch(45.7% 0.207 311.7);
Tailwind
colors: {
  custom: {
    50: '#a766c3',
    500: '#7c1ca8',
    950: '#000000',
  },
}
SCSS
$custom: #7c1ca8;
$custom-light: #a766c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1ca8",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 281.143,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45718,
    "c": 0.20697,
    "h": 311.7
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#7C1CA8
secondary
#7BC758
accent
#EE3A72
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C1CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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