#7D1081#7D1081

#7D1081 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.184 H 326.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7D1081
RGBrgb(125, 16, 129)
HSLhsl(298, 78%, 28%)
HSVhsv(298, 88%, 51%)
CMYKcmyk(3.1%, 87.6%, 0%, 49.4%)
CIE-LABlab(30.20, 55.85, -36.49)
CIE-LCHlch(30.20, 66.71, 326.84°)
OKLaboklab(42.3% 0.1538 -0.1016)
OKLCHoklch(42.3% 0.184 326.5)
XYZxyz(12.6050, 6.3165, 21.3199)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1081 #148110
analogous
#441081 #7D1081 #81104C
triadic
#7D1081 #817D10 #10817D
tetradic
#7D1081 #814410 #148110 #104C81
square
#7D1081 #814410 #148110 #104C81
split-complementary
#7D1081 #4C8110 #108144
monochromatic
#1A031B #48094B #7D1081 #B217B7 #DE27E4

Accessibility & contrast

On white

9.28
#7D1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1081
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1081#FFFFFF#000000##FFFFFF
##7D10811.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#304C7F
Tritanopia (blue-blind)
#81284B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1081;
/* rgb */ color: rgb(125, 16, 129);
/* oklch */ color: oklch(42.3% 0.184 326.5);
Tailwind
colors: {
  custom: {
    50: '#a761a6',
    500: '#7d1081',
    950: '#000000',
  },
}
SCSS
$custom: #7d1081;
$custom-light: #a761a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1081",
  "rgb": {
    "r": 125,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 297.876,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42297,
    "c": 0.18435,
    "h": 326.5
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#7D1081
secondary
#3AB736
accent
#F4333A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1081

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

Preview Lab → · Contrast checker → · Palette generator →

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