#7C1689#7C1689

#7C1689 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.186 H 322.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7C1689
RGBrgb(124, 22, 137)
HSLhsl(293, 72%, 31%)
HSVhsv(293, 84%, 54%)
CMYKcmyk(9.5%, 83.9%, 0%, 46.3%)
CIE-LABlab(31.03, 55.63, -40.15)
CIE-LCHlch(31.03, 68.61, 324.18°)
OKLaboklab(43.02% 0.1479 -0.1124)
OKLCHoklch(43.02% 0.186 322.8)
XYZxyz(13.1140, 6.6659, 24.2580)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1689 #238916
analogous
#421689 #7C1689 #89165C
triadic
#7C1689 #897C16 #16897C
tetradic
#7C1689 #894216 #238916 #165C89
square
#7C1689 #894216 #238916 #165C89
split-complementary
#7C1689 #5C8916 #168942
monochromatic
#1D0520 #4C0E54 #7C1689 #AC1EBE #CD3ADF

Accessibility & contrast

On white

9.00
#7C1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7C1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1689
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1689#FFFFFF#000000##FFFFFF
##7C16891.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#2B4D87
Tritanopia (blue-blind)
#7E2F51
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c1689;
/* rgb */ color: rgb(124, 22, 137);
/* oklch */ color: oklch(43.0% 0.186 322.8);
Tailwind
colors: {
  custom: {
    50: '#a663ac',
    500: '#7c1689',
    950: '#000000',
  },
}
SCSS
$custom: #7c1689;
$custom-light: #a663ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1689",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 293.217,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43022,
    "c": 0.18572,
    "h": 322.8
  },
  "luminance": 0.06665
}

Semantic roles & 50–950 ramp

primary
#7C1689
secondary
#4CBD3E
accent
#EF394D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1689

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

Preview Lab → · Contrast checker → · Palette generator →

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