#7D1481#7D1481

#7D1481 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.181 H 326.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7D1481
RGBrgb(125, 20, 129)
HSLhsl(298, 73%, 29%)
HSVhsv(298, 84%, 51%)
CMYKcmyk(3.1%, 84.5%, 0%, 49.4%)
CIE-LABlab(30.51, 54.94, -35.98)
CIE-LCHlch(30.51, 65.67, 326.77°)
OKLaboklab(42.52% 0.1512 -0.1002)
OKLCHoklch(42.52% 0.181 326.5)
XYZxyz(12.6698, 6.4462, 21.3415)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1481 #188114
analogous
#471481 #7D1481 #81144F
triadic
#7D1481 #817D14 #14817D
tetradic
#7D1481 #814714 #188114 #144F81
square
#7D1481 #814714 #188114 #144F81
split-complementary
#7D1481 #4F8114 #148147
monochromatic
#1A041A #4A0C4C #7D1481 #B01CB6 #D930DF

Accessibility & contrast

On white

9.17
#7D1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7D1481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1481
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1481#FFFFFF#000000##FFFFFF
##7D14811.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#324C7F
Tritanopia (blue-blind)
#812A4C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1481;
/* rgb */ color: rgb(125, 20, 129);
/* oklch */ color: oklch(42.5% 0.181 326.5);
Tailwind
colors: {
  custom: {
    50: '#a662a6',
    500: '#7d1481',
    950: '#000000',
  },
}
SCSS
$custom: #7d1481;
$custom-light: #a662a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1481",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 297.798,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42519,
    "c": 0.18141,
    "h": 326.5
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#7D1481
secondary
#3FB63B
accent
#F0383F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1481

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

Preview Lab → · Contrast checker → · Palette generator →

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