#7C1D89#7C1D89

#7C1D89 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.179 H 322.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7C1D89
RGBrgb(124, 29, 137)
HSLhsl(293, 65%, 33%)
HSVhsv(293, 79%, 54%)
CMYKcmyk(9.5%, 78.8%, 0%, 46.3%)
CIE-LABlab(31.74, 53.59, -39.02)
CIE-LCHlch(31.74, 66.29, 323.94°)
OKLaboklab(43.52% 0.1423 -0.1091)
OKLCHoklch(43.52% 0.179 322.5)
XYZxyz(13.2664, 6.9707, 24.3088)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D89 #2A891D
analogous
#461D89 #7C1D89 #891D60
triadic
#7C1D89 #897C1D #1D897C
tetradic
#7C1D89 #89461D #2A891D #1D6089
square
#7C1D89 #89461D #2A891D #1D6089
split-complementary
#7C1D89 #60891D #1D8946
monochromatic
#210824 #4E1256 #7C1D89 #AA28BC #C748D8

Accessibility & contrast

On white

8.77
#7C1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7C1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1D89
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D89#FFFFFF#000000##FFFFFF
##7C1D891.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#2E4E87
Tritanopia (blue-blind)
#7E3353
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1d89;
/* rgb */ color: rgb(124, 29, 137);
/* oklch */ color: oklch(43.5% 0.179 322.5);
Tailwind
colors: {
  custom: {
    50: '#a665ac',
    500: '#7c1d89',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d89;
$custom-light: #a665ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d89",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 292.778,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.17934,
    "h": 322.5
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#7C1D89
secondary
#55BA47
accent
#E84054
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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