#7C1DA1#7C1DA1

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

Color values

HEX#7C1DA1
RGBrgb(124, 29, 161)
HSLhsl(283, 69%, 37%)
HSVhsv(283, 82%, 63%)
CMYKcmyk(23%, 82%, 0%, 36.9%)
CIE-LABlab(33.43, 58.24, -51.00)
CIE-LCHlch(33.43, 77.41, 318.79°)
OKLaboklab(45.25% 0.1385 -0.1443)
OKLCHoklch(45.25% 0.2 313.8)
XYZxyz(15.1834, 7.7375, 34.4050)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1DA1 #42A11D
analogous
#3A1DA1 #7C1DA1 #A11D84
triadic
#7C1DA1 #A17C1D #1DA17C
tetradic
#7C1DA1 #A13A1D #42A11D #1D84A1
square
#7C1DA1 #A13A1D #42A11D #1D84A1
split-complementary
#7C1DA1 #84A11D #1DA13A
monochromatic
#2C0A39 #54146D #7C1DA1 #A426D5 #BA58E1

Accessibility & contrast

On white

8.24
#7C1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7C1DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1DA1
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1DA1#FFFFFF#000000##FFFFFF
##7C1DA11.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#0B519E
Tritanopia (blue-blind)
#783E60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c1da1;
/* rgb */ color: rgb(124, 29, 161);
/* oklch */ color: oklch(45.2% 0.200 313.8);
Tailwind
colors: {
  custom: {
    50: '#a766be',
    500: '#7c1da1',
    950: '#000000',
  },
}
SCSS
$custom: #7c1da1;
$custom-light: #a766be;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1da1",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 283.182,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45247,
    "c": 0.2,
    "h": 313.8
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#7C1DA1
secondary
#75C455
accent
#EC3C6D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C1DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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