#7C1CA1#7C1CA1

#7C1CA1 is a mid, highly saturated purple. Relative luminance 0.077; OKLCH L 45.2% C 0.201 H 313.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7C1CA1
RGBrgb(124, 28, 161)
HSLhsl(283, 70%, 37%)
HSVhsv(283, 83%, 63%)
CMYKcmyk(23%, 82.6%, 0%, 36.9%)
CIE-LABlab(33.33, 58.54, -51.17)
CIE-LCHlch(33.33, 77.75, 318.84°)
OKLaboklab(45.18% 0.1393 -0.1448)
OKLCHoklch(45.18% 0.201 313.9)
XYZxyz(15.1593, 7.6893, 34.3969)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1CA1 #41A11C
analogous
#391CA1 #7C1CA1 #A11C84
triadic
#7C1CA1 #A17C1C #1CA17C
tetradic
#7C1CA1 #A1391C #41A11C #1C84A1
square
#7C1CA1 #A1391C #41A11C #1C84A1
split-complementary
#7C1CA1 #84A11C #1CA139
monochromatic
#2C0A39 #54136D #7C1CA1 #A425D5 #BB56E2

Accessibility & contrast

On white

8.27
#7C1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7C1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1CA1
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1CA1#FFFFFF#000000##FFFFFF
##7C1CA11.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#09509E
Tritanopia (blue-blind)
#783E60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c1ca1;
/* rgb */ color: rgb(124, 28, 161);
/* oklch */ color: oklch(45.2% 0.201 313.9);
Tailwind
colors: {
  custom: {
    50: '#a766be',
    500: '#7c1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #7c1ca1;
$custom-light: #a766be;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1ca1",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 283.308,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45175,
    "c": 0.20087,
    "h": 313.9
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#7C1CA1
secondary
#73C554
accent
#ED3B6C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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