#7C1687#7C1687

#7C1687 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.184 H 323.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7C1687
RGBrgb(124, 22, 135)
HSLhsl(294, 72%, 31%)
HSVhsv(294, 84%, 53%)
CMYKcmyk(8.1%, 83.7%, 0%, 47.1%)
CIE-LABlab(30.90, 55.28, -39.12)
CIE-LCHlch(30.90, 67.72, 324.71°)
OKLaboklab(42.88% 0.1481 -0.1094)
OKLCHoklch(42.88% 0.184 323.5)
XYZxyz(12.9719, 6.6090, 23.5094)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1687 #218716
analogous
#431687 #7C1687 #871659
triadic
#7C1687 #877C16 #16877C
tetradic
#7C1687 #874316 #218716 #165987
square
#7C1687 #874316 #218716 #165987
split-complementary
#7C1687 #598716 #168743
monochromatic
#1B051E #4C0D52 #7C1687 #AC1FBC #CF39DF

Accessibility & contrast

On white

9.05
#7C1687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7C1687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1687
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1687#FFFFFF#000000##FFFFFF
##7C16871.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#2C4D85
Tritanopia (blue-blind)
#7E2E50
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c1687;
/* rgb */ color: rgb(124, 22, 135);
/* oklch */ color: oklch(42.9% 0.184 323.5);
Tailwind
colors: {
  custom: {
    50: '#a662aa',
    500: '#7c1687',
    950: '#000000',
  },
}
SCSS
$custom: #7c1687;
$custom-light: #a662aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1687",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 294.159,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42884,
    "c": 0.18411,
    "h": 323.5
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#7C1687
secondary
#4ABB3E
accent
#EF394B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1687

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

Preview Lab → · Contrast checker → · Palette generator →

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