#7C1CA7#7C1CA7

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

Color values

HEX#7C1CA7
RGBrgb(124, 28, 167)
HSLhsl(281, 71%, 38%)
HSVhsv(281, 83%, 65%)
CMYKcmyk(25.7%, 83.2%, 0%, 34.5%)
CIE-LABlab(33.79, 59.75, -54.04)
CIE-LCHlch(33.79, 80.56, 317.87°)
OKLaboklab(45.64% 0.1379 -0.1532)
OKLCHoklch(45.64% 0.206 312)
XYZxyz(15.7012, 7.9061, 37.2506)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1CA7 #47A71C
analogous
#361CA7 #7C1CA7 #A71C8C
triadic
#7C1CA7 #A77C1C #1CA77C
tetradic
#7C1CA7 #A7361C #47A71C #1C8CA7
square
#7C1CA7 #A7361C #47A71C #1C8CA7
split-complementary
#7C1CA7 #8CA71C #1CA736
monochromatic
#2E0A3E #551373 #7C1CA7 #A326DB #B95AE3

Accessibility & contrast

On white

8.14
#7C1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7C1CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1CA7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1CA7#FFFFFF#000000##FFFFFF
##7C1CA71.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1ca7;
/* rgb */ color: rgb(124, 28, 167);
/* oklch */ color: oklch(45.6% 0.206 312.0);
Tailwind
colors: {
  custom: {
    50: '#a766c2',
    500: '#7c1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #7c1ca7;
$custom-light: #a766c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1ca7",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 281.439,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45639,
    "c": 0.20609,
    "h": 312
  },
  "luminance": 0.07906
}

Semantic roles & 50–950 ramp

primary
#7C1CA7
secondary
#7AC758
accent
#EE3A72
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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