#7D1880#7D1880

#7D1880 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.177 H 326.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7D1880
RGBrgb(125, 24, 128)
HSLhsl(298, 68%, 30%)
HSVhsv(298, 81%, 50%)
CMYKcmyk(2.3%, 81.3%, 0%, 49.8%)
CIE-LABlab(30.81, 53.70, -34.87)
CIE-LCHlch(30.81, 64.03, 327.00°)
OKLaboklab(42.71% 0.1483 -0.097)
OKLCHoklch(42.71% 0.177 326.8)
XYZxyz(12.6801, 6.5727, 21.0187)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1880 #1B8018
analogous
#491880 #7D1880 #80184F
triadic
#7D1880 #807D18 #18807D
tetradic
#7D1880 #804918 #1B8018 #184F80
square
#7D1880 #804918 #1B8018 #184F80
split-complementary
#7D1880 #4F8018 #188049
monochromatic
#19051A #4B0E4C #7D1880 #AF22B4 #D539DA

Accessibility & contrast

On white

9.07
#7D1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1880
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1880#FFFFFF#000000##FFFFFF
##7D18801.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#344D7E
Tritanopia (blue-blind)
#812B4C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1880;
/* rgb */ color: rgb(125, 24, 128);
/* oklch */ color: oklch(42.7% 0.177 326.8);
Tailwind
colors: {
  custom: {
    50: '#a663a5',
    500: '#7d1880',
    950: '#000000',
  },
}
SCSS
$custom: #7d1880;
$custom-light: #a663a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1880",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 298.269,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42713,
    "c": 0.17722,
    "h": 326.8
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#7D1880
secondary
#43B440
accent
#EB3D42
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1880

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

Preview Lab → · Contrast checker → · Palette generator →

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