#7D1280#7D1280

#7D1280 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.182 H 326.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#7D1280
RGBrgb(125, 18, 128)
HSLhsl(298, 75%, 29%)
HSVhsv(298, 86%, 50%)
CMYKcmyk(2.3%, 85.9%, 0%, 49.8%)
CIE-LABlab(30.28, 55.24, -35.72)
CIE-LCHlch(30.28, 65.79, 327.11°)
OKLaboklab(42.34% 0.1527 -0.0994)
OKLCHoklch(42.34% 0.182 326.9)
XYZxyz(12.5698, 6.3520, 20.9819)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1280 #158012
analogous
#461280 #7D1280 #80124C
triadic
#7D1280 #807D12 #12807D
tetradic
#7D1280 #804612 #158012 #124C80
square
#7D1280 #804612 #158012 #124C80
split-complementary
#7D1280 #4C8012 #128046
monochromatic
#1A041B #490A4A #7D1280 #B11AB6 #DC2BE1

Accessibility & contrast

On white

9.25
#7D1280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D1280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1280
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1280#FFFFFF#000000##FFFFFF
##7D12801.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#324C7E
Tritanopia (blue-blind)
#81284B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1280;
/* rgb */ color: rgb(125, 18, 128);
/* oklch */ color: oklch(42.3% 0.182 326.9);
Tailwind
colors: {
  custom: {
    50: '#a661a5',
    500: '#7d1280',
    950: '#000000',
  },
}
SCSS
$custom: #7d1280;
$custom-light: #a661a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1280",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 298.364,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42338,
    "c": 0.18217,
    "h": 326.9
  },
  "luminance": 0.06351
}

Semantic roles & 50–950 ramp

primary
#7D1280
secondary
#3CB638
accent
#F2363B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1280

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

Preview Lab → · Contrast checker → · Palette generator →

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