#7C1988#7C1988

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

Color values

HEX#7C1988
RGBrgb(124, 25, 136)
HSLhsl(294, 69%, 32%)
HSVhsv(294, 82%, 53%)
CMYKcmyk(8.8%, 81.6%, 0%, 46.7%)
CIE-LABlab(31.25, 54.63, -39.18)
CIE-LCHlch(31.25, 67.23, 324.35°)
OKLaboklab(43.15% 0.1457 -0.1096)
OKLCHoklch(43.15% 0.182 323.1)
XYZxyz(13.1033, 6.7587, 23.9022)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1988 #258819
analogous
#451988 #7C1988 #88195D
triadic
#7C1988 #887C19 #19887C
tetradic
#7C1988 #884519 #258819 #195D88
square
#7C1988 #884519 #258819 #195D88
split-complementary
#7C1988 #5D8819 #198845
monochromatic
#1E0621 #4D0F54 #7C1988 #AB23BC #CB40DC

Accessibility & contrast

On white

8.93
#7C1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1988
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1988#FFFFFF#000000##FFFFFF
##7C19881.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1988;
/* rgb */ color: rgb(124, 25, 136);
/* oklch */ color: oklch(43.2% 0.182 323.1);
Tailwind
colors: {
  custom: {
    50: '#a663ab',
    500: '#7c1988',
    950: '#000000',
  },
}
SCSS
$custom: #7c1988;
$custom-light: #a663ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1988",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 293.514,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43154,
    "c": 0.18233,
    "h": 323.1
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#7C1988
secondary
#4FBB41
accent
#EC3C4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1988

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

Preview Lab → · Contrast checker → · Palette generator →

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