#7D1784#7D1784

#7D1784 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.181 H 325.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#7D1784
RGBrgb(125, 23, 132)
HSLhsl(296, 70%, 30%)
HSVhsv(296, 83%, 52%)
CMYKcmyk(5.3%, 82.6%, 0%, 48.2%)
CIE-LABlab(30.97, 54.68, -37.13)
CIE-LCHlch(30.97, 66.09, 325.82°)
OKLaboklab(42.91% 0.1488 -0.1035)
OKLCHoklch(42.91% 0.181 325.2)
XYZxyz(12.9284, 6.6396, 22.4259)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1784 #1E8417
analogous
#461784 #7D1784 #841754
triadic
#7D1784 #847D17 #17847D
tetradic
#7D1784 #844617 #1E8417 #175484
square
#7D1784 #844617 #1E8417 #175484
split-complementary
#7D1784 #548417 #178446
monochromatic
#1A051C #4C0E50 #7D1784 #AE20B8 #D239DC

Accessibility & contrast

On white

9.02
#7D1784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7D1784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1784
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1784#FFFFFF#000000##FFFFFF
##7D17841.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#304D82
Tritanopia (blue-blind)
#802D4E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1784;
/* rgb */ color: rgb(125, 23, 132);
/* oklch */ color: oklch(42.9% 0.181 325.2);
Tailwind
colors: {
  custom: {
    50: '#a663a8',
    500: '#7d1784',
    950: '#000000',
  },
}
SCSS
$custom: #7d1784;
$custom-light: #a663a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1784",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 296.147,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42907,
    "c": 0.18129,
    "h": 325.2
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#7D1784
secondary
#46B83F
accent
#ED3B46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1784

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

Preview Lab → · Contrast checker → · Palette generator →

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