#7C1DA8#7C1DA8

#7C1DA8 is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.8% C 0.206 H 311.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7C1DA8
RGBrgb(124, 29, 168)
HSLhsl(281, 71%, 39%)
HSVhsv(281, 83%, 66%)
CMYKcmyk(26.2%, 82.7%, 0%, 34.1%)
CIE-LABlab(33.97, 59.66, -54.35)
CIE-LCHlch(33.97, 80.71, 317.67°)
OKLaboklab(45.79% 0.1369 -0.1541)
OKLCHoklch(45.79% 0.206 311.6)
XYZxyz(15.8181, 7.9914, 37.7474)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1DA8 #49A81D
analogous
#361DA8 #7C1DA8 #A81D8E
triadic
#7C1DA8 #A87C1D #1DA87C
tetradic
#7C1DA8 #A8361D #49A81D #1D8EA8
square
#7C1DA8 #A8361D #49A81D #1D8EA8
split-complementary
#7C1DA8 #8EA81D #1DA836
monochromatic
#2F0B40 #551474 #7C1DA8 #A228DA #B85CE3

Accessibility & contrast

On white

8.08
#7C1DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7C1DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1DA8
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1DA8#FFFFFF#000000##FFFFFF
##7C1DA81.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#764164
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c1da8;
/* rgb */ color: rgb(124, 29, 168);
/* oklch */ color: oklch(45.8% 0.206 311.6);
Tailwind
colors: {
  custom: {
    50: '#a767c3',
    500: '#7c1da8',
    950: '#000000',
  },
}
SCSS
$custom: #7c1da8;
$custom-light: #a767c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1da8",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 168
  },
  "hsl": {
    "h": 281.007,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45788,
    "c": 0.20615,
    "h": 311.6
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#7C1DA8
secondary
#7CC75A
accent
#ED3A73
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C1DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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