#7D1780#7D1780

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

Color values

HEX#7D1780
RGBrgb(125, 23, 128)
HSLhsl(298, 70%, 30%)
HSVhsv(298, 82%, 50%)
CMYKcmyk(2.3%, 82%, 0%, 49.8%)
CIE-LABlab(30.72, 53.98, -35.03)
CIE-LCHlch(30.72, 64.35, 327.02°)
OKLaboklab(42.65% 0.1491 -0.0974)
OKLCHoklch(42.65% 0.178 326.8)
XYZxyz(12.6599, 6.5322, 21.0119)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1780 #1A8017
analogous
#491780 #7D1780 #80174E
triadic
#7D1780 #807D17 #17807D
tetradic
#7D1780 #804917 #1A8017 #174E80
square
#7D1780 #804917 #1A8017 #174E80
split-complementary
#7D1780 #4E8017 #178049
monochromatic
#19051A #4A0E4C #7D1780 #B020B4 #D636DB

Accessibility & contrast

On white

9.11
#7D1780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7D1780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1780
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1780#FFFFFF#000000##FFFFFF
##7D17801.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1780;
/* rgb */ color: rgb(125, 23, 128);
/* oklch */ color: oklch(42.6% 0.178 326.8);
Tailwind
colors: {
  custom: {
    50: '#a663a5',
    500: '#7d1780',
    950: '#000000',
  },
}
SCSS
$custom: #7d1780;
$custom-light: #a663a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1780",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 298.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42645,
    "c": 0.17812,
    "h": 326.8
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#7D1780
secondary
#42B43E
accent
#EC3B41
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1780

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

Preview Lab → · Contrast checker → · Palette generator →

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