#7D2789#7D2789

#7D2789 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.168 H 322.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7D2789
RGBrgb(125, 39, 137)
HSLhsl(293, 56%, 35%)
HSVhsv(293, 72%, 54%)
CMYKcmyk(8.8%, 71.5%, 0%, 46.3%)
CIE-LABlab(33.17, 50.19, -36.72)
CIE-LCHlch(33.17, 62.18, 323.81°)
OKLaboklab(44.58% 0.1337 -0.1024)
OKLCHoklch(44.58% 0.168 322.5)
XYZxyz(13.6979, 7.6179, 24.4110)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2789 #338927
analogous
#4C2789 #7D2789 #892764
triadic
#7D2789 #897D27 #27897D
tetradic
#7D2789 #894C27 #338927 #276489
square
#7D2789 #894C27 #338927 #276489
split-complementary
#7D2789 #648927 #27894C
monochromatic
#260C2A #521959 #7D2789 #A835B9 #C25AD0

Accessibility & contrast

On white

8.32
#7D2789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7D2789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2789
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2789#FFFFFF#000000##FFFFFF
##7D27891.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488C
Deuteranopia (green-blind)
#355187
Tritanopia (blue-blind)
#7F3855
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2789;
/* rgb */ color: rgb(125, 39, 137);
/* oklch */ color: oklch(44.6% 0.168 322.5);
Tailwind
colors: {
  custom: {
    50: '#a669ac',
    500: '#7d2789',
    950: '#000000',
  },
}
SCSS
$custom: #7d2789;
$custom-light: #a669ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2789",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 292.653,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44576,
    "c": 0.16845,
    "h": 322.5
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#7D2789
secondary
#62B557
accent
#DF495B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2789

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

Preview Lab → · Contrast checker → · Palette generator →

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