#7C1DA0#7C1DA0

#7C1DA0 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.2% C 0.199 H 314.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7C1DA0
RGBrgb(124, 29, 160)
HSLhsl(284, 69%, 37%)
HSVhsv(284, 82%, 63%)
CMYKcmyk(22.5%, 81.9%, 0%, 37.3%)
CIE-LABlab(33.36, 58.04, -50.51)
CIE-LCHlch(33.36, 76.94, 318.96°)
OKLaboklab(45.17% 0.1387 -0.1428)
OKLCHoklch(45.17% 0.199 314.2)
XYZxyz(15.0956, 7.7024, 33.9424)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1DA0 #41A01D
analogous
#3A1DA0 #7C1DA0 #A01D83
triadic
#7C1DA0 #A07C1D #1DA07C
tetradic
#7C1DA0 #A03A1D #41A01D #1D83A0
square
#7C1DA0 #A03A1D #41A01D #1D83A0
split-complementary
#7C1DA0 #83A01D #1DA03A
monochromatic
#2C0A38 #54146C #7C1DA0 #A426D4 #BB57E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1DA0#FFFFFF#000000##FFFFFF
##7C1DA01.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)
#004AA3
Deuteranopia (green-blind)
#0E519D
Tritanopia (blue-blind)
#783E60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c1da0;
/* rgb */ color: rgb(124, 29, 160);
/* oklch */ color: oklch(45.2% 0.199 314.2);
Tailwind
colors: {
  custom: {
    50: '#a666bd',
    500: '#7c1da0',
    950: '#000000',
  },
}
SCSS
$custom: #7c1da0;
$custom-light: #a666bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1da0",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 283.511,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45171,
    "c": 0.19914,
    "h": 314.2
  },
  "luminance": 0.07702
}

Semantic roles & 50–950 ramp

primary
#7C1DA0
secondary
#73C455
accent
#EC3C6C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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