#7C1989#7C1989

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

Color values

HEX#7C1989
RGBrgb(124, 25, 137)
HSLhsl(293, 69%, 32%)
HSVhsv(293, 82%, 54%)
CMYKcmyk(9.5%, 81.8%, 0%, 46.3%)
CIE-LABlab(31.32, 54.81, -39.70)
CIE-LCHlch(31.32, 67.67, 324.09°)
OKLaboklab(43.22% 0.1456 -0.1111)
OKLCHoklch(43.22% 0.183 322.7)
XYZxyz(13.1747, 6.7873, 24.2782)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1989 #268919
analogous
#441989 #7C1989 #89195E
triadic
#7C1989 #897C19 #19897C
tetradic
#7C1989 #894419 #268919 #195E89
square
#7C1989 #894419 #268919 #195E89
split-complementary
#7C1989 #5E8919 #198944
monochromatic
#1E0621 #4D1055 #7C1989 #AB22BD #CA40DC

Accessibility & contrast

On white

8.91
#7C1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7C1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1989
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1989#FFFFFF#000000##FFFFFF
##7C19891.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#2C4D87
Tritanopia (blue-blind)
#7E3152
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c1989;
/* rgb */ color: rgb(124, 25, 137);
/* oklch */ color: oklch(43.2% 0.183 322.7);
Tailwind
colors: {
  custom: {
    50: '#a664ac',
    500: '#7c1989',
    950: '#000000',
  },
}
SCSS
$custom: #7c1989;
$custom-light: #a664ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1989",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 293.036,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43222,
    "c": 0.18316,
    "h": 322.7
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#7C1989
secondary
#50BC41
accent
#EC3C50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1989

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

Preview Lab → · Contrast checker → · Palette generator →

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