#7C1CA0#7C1CA0

#7C1CA0 is a mid, highly saturated purple. Relative luminance 0.077; OKLCH L 45.1% C 0.200 H 314.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7C1CA0
RGBrgb(124, 28, 160)
HSLhsl(284, 70%, 37%)
HSVhsv(284, 83%, 63%)
CMYKcmyk(22.5%, 82.5%, 0%, 37.3%)
CIE-LABlab(33.25, 58.34, -50.68)
CIE-LCHlch(33.25, 77.28, 319.02°)
OKLaboklab(45.1% 0.1395 -0.1433)
OKLCHoklch(45.1% 0.2 314.2)
XYZxyz(15.0715, 7.6542, 33.9344)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1CA0 #40A01C
analogous
#3A1CA0 #7C1CA0 #A01C82
triadic
#7C1CA0 #A07C1C #1CA07C
tetradic
#7C1CA0 #A03A1C #40A01C #1C82A0
square
#7C1CA0 #A03A1C #40A01C #1C82A0
split-complementary
#7C1CA0 #82A01C #1CA03A
monochromatic
#2B0A38 #54136C #7C1CA0 #A425D4 #BB55E1

Accessibility & contrast

On white

8.30
#7C1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7C1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1CA0
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1CA0#FFFFFF#000000##FFFFFF
##7C1CA01.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#0D509D
Tritanopia (blue-blind)
#783D60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c1ca0;
/* rgb */ color: rgb(124, 28, 160);
/* oklch */ color: oklch(45.1% 0.200 314.2);
Tailwind
colors: {
  custom: {
    50: '#a766bd',
    500: '#7c1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #7c1ca0;
$custom-light: #a766bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1ca0",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 283.636,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.2,
    "h": 314.2
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#7C1CA0
secondary
#72C453
accent
#ED3B6B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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