#7C1A87#7C1A87

#7C1A87 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.181 H 323.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7C1A87
RGBrgb(124, 26, 135)
HSLhsl(294, 68%, 32%)
HSVhsv(294, 81%, 53%)
CMYKcmyk(8.1%, 80.7%, 0%, 47.1%)
CIE-LABlab(31.29, 54.15, -38.50)
CIE-LCHlch(31.29, 66.44, 324.59°)
OKLaboklab(43.16% 0.145 -0.1076)
OKLCHoklch(43.16% 0.181 323.4)
XYZxyz(13.0543, 6.7740, 23.5369)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A87 #25871A
analogous
#461A87 #7C1A87 #871A5C
triadic
#7C1A87 #877C1A #1A877C
tetradic
#7C1A87 #87461A #25871A #1A5C87
square
#7C1A87 #87461A #25871A #1A5C87
split-complementary
#7C1A87 #5C871A #1A8746
monochromatic
#1E0620 #4D1054 #7C1A87 #AB24BA #CB41DA

Accessibility & contrast

On white

8.92
#7C1A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7C1A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A87
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A87#FFFFFF#000000##FFFFFF
##7C1A871.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#2E4D85
Tritanopia (blue-blind)
#7E3051
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c1a87;
/* rgb */ color: rgb(124, 26, 135);
/* oklch */ color: oklch(43.2% 0.181 323.4);
Tailwind
colors: {
  custom: {
    50: '#a664aa',
    500: '#7c1a87',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a87;
$custom-light: #a664aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a87",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 293.945,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43158,
    "c": 0.18059,
    "h": 323.4
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#7C1A87
secondary
#4FBA42
accent
#EB3D4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1A87

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

Preview Lab → · Contrast checker → · Palette generator →

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