#7D2787#7D2787

#7D2787 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.167 H 323.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7D2787
RGBrgb(125, 39, 135)
HSLhsl(294, 55%, 34%)
HSVhsv(294, 71%, 53%)
CMYKcmyk(7.4%, 71.1%, 0%, 47.1%)
CIE-LABlab(33.05, 49.81, -35.67)
CIE-LCHlch(33.05, 61.26, 324.39°)
OKLaboklab(44.45% 0.1338 -0.0994)
OKLCHoklch(44.45% 0.167 323.4)
XYZxyz(13.5557, 7.5611, 23.6624)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2787 #318727
analogous
#4D2787 #7D2787 #872761
triadic
#7D2787 #877D27 #27877D
tetradic
#7D2787 #874D27 #318727 #276187
square
#7D2787 #874D27 #318727 #276187
split-complementary
#7D2787 #618727 #27874D
monochromatic
#250C28 #511958 #7D2787 #A935B6 #C359CF

Accessibility & contrast

On white

8.36
#7D2787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7D2787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2787
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2787#FFFFFF#000000##FFFFFF
##7D27871.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A478A
Deuteranopia (green-blind)
#375185
Tritanopia (blue-blind)
#7F3754
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2787;
/* rgb */ color: rgb(125, 39, 135);
/* oklch */ color: oklch(44.4% 0.167 323.4);
Tailwind
colors: {
  custom: {
    50: '#a669aa',
    500: '#7d2787',
    950: '#000000',
  },
}
SCSS
$custom: #7d2787;
$custom-light: #a669aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2787",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 293.75,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44448,
    "c": 0.16666,
    "h": 323.4
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#7D2787
secondary
#60B456
accent
#DF4959
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2787

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

Preview Lab → · Contrast checker → · Palette generator →

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