#7D1680#7D1680

#7D1680 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.179 H 326.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7D1680
RGBrgb(125, 22, 128)
HSLhsl(298, 71%, 29%)
HSVhsv(298, 83%, 50%)
CMYKcmyk(2.3%, 82.8%, 0%, 49.8%)
CIE-LABlab(30.62, 54.25, -35.18)
CIE-LCHlch(30.62, 64.66, 327.04°)
OKLaboklab(42.58% 0.1499 -0.0978)
OKLCHoklch(42.58% 0.179 326.9)
XYZxyz(12.6404, 6.4932, 21.0054)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1680 #198016
analogous
#481680 #7D1680 #80164E
triadic
#7D1680 #807D16 #16807D
tetradic
#7D1680 #804816 #198016 #164E80
square
#7D1680 #804816 #198016 #164E80
split-complementary
#7D1680 #4E8016 #168048
monochromatic
#1A041A #4A0D4C #7D1680 #B01FB4 #D734DC

Accessibility & contrast

On white

9.14
#7D1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7D1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1680
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1680#FFFFFF#000000##FFFFFF
##7D16801.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#334C7E
Tritanopia (blue-blind)
#812A4C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1680;
/* rgb */ color: rgb(125, 22, 128);
/* oklch */ color: oklch(42.6% 0.179 326.9);
Tailwind
colors: {
  custom: {
    50: '#a662a5',
    500: '#7d1680',
    950: '#000000',
  },
}
SCSS
$custom: #7d1680;
$custom-light: #a662a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1680",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 298.302,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42579,
    "c": 0.17899,
    "h": 326.9
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#7D1680
secondary
#40B53D
accent
#ED3A3F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1680

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

Preview Lab → · Contrast checker → · Palette generator →

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