#7C1DA7#7C1DA7

#7C1DA7 is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.7% C 0.205 H 311.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7C1DA7
RGBrgb(124, 29, 167)
HSLhsl(281, 70%, 38%)
HSVhsv(281, 83%, 65%)
CMYKcmyk(25.7%, 82.6%, 0%, 34.5%)
CIE-LABlab(33.89, 59.46, -53.88)
CIE-LCHlch(33.89, 80.24, 317.82°)
OKLaboklab(45.71% 0.1372 -0.1527)
OKLCHoklch(45.71% 0.205 311.9)
XYZxyz(15.7253, 7.9543, 37.2587)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1DA7 #48A71D
analogous
#371DA7 #7C1DA7 #A71D8D
triadic
#7C1DA7 #A77C1D #1DA77C
tetradic
#7C1DA7 #A7371D #48A71D #1D8DA7
square
#7C1DA7 #A7371D #48A71D #1D8DA7
split-complementary
#7C1DA7 #8DA71D #1DA737
monochromatic
#2F0B3F #551473 #7C1DA7 #A228DA #B95CE3

Accessibility & contrast

On white

8.11
#7C1DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7C1DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1DA7
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1DA7#FFFFFF#000000##FFFFFF
##7C1DA71.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#774164
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c1da7;
/* rgb */ color: rgb(124, 29, 167);
/* oklch */ color: oklch(45.7% 0.205 311.9);
Tailwind
colors: {
  custom: {
    50: '#a767c2',
    500: '#7c1da7',
    950: '#000000',
  },
}
SCSS
$custom: #7c1da7;
$custom-light: #a767c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1da7",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 167
  },
  "hsl": {
    "h": 281.304,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4571,
    "c": 0.20527,
    "h": 311.9
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#7C1DA7
secondary
#7BC759
accent
#ED3B72
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C1DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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