#7D1689#7D1689

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

Color values

HEX#7D1689
RGBrgb(125, 22, 137)
HSLhsl(294, 72%, 31%)
HSVhsv(294, 84%, 54%)
CMYKcmyk(8.8%, 83.9%, 0%, 46.3%)
CIE-LABlab(31.21, 55.83, -39.86)
CIE-LCHlch(31.21, 68.60, 324.47°)
OKLaboklab(43.18% 0.149 -0.1115)
OKLCHoklch(43.18% 0.186 323.2)
XYZxyz(13.2593, 6.7408, 24.2648)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1689 #228916
analogous
#431689 #7D1689 #89165B
triadic
#7D1689 #897D16 #16897D
tetradic
#7D1689 #894316 #228916 #165B89
square
#7D1689 #894316 #228916 #165B89
split-complementary
#7D1689 #5B8916 #168943
monochromatic
#1D0520 #4D0E54 #7D1689 #AD1EBE #CE3ADF

Accessibility & contrast

On white

8.94
#7D1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1689
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1689#FFFFFF#000000##FFFFFF
##7D16891.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1689;
/* rgb */ color: rgb(125, 22, 137);
/* oklch */ color: oklch(43.2% 0.186 323.2);
Tailwind
colors: {
  custom: {
    50: '#a763ac',
    500: '#7d1689',
    950: '#000000',
  },
}
SCSS
$custom: #7d1689;
$custom-light: #a763ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1689",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 293.739,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43179,
    "c": 0.18614,
    "h": 323.2
  },
  "luminance": 0.0674
}

Semantic roles & 50–950 ramp

primary
#7D1689
secondary
#4BBD3E
accent
#EF394C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1689

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

Preview Lab → · Contrast checker → · Palette generator →

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