#7D2C86#7D2C86

#7D2C86 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.159 H 323.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7D2C86
RGBrgb(125, 44, 134)
HSLhsl(294, 51%, 35%)
HSVhsv(294, 67%, 53%)
CMYKcmyk(6.7%, 67.2%, 0%, 47.5%)
CIE-LABlab(33.74, 47.52, -33.96)
CIE-LCHlch(33.74, 58.40, 324.45°)
OKLaboklab(44.92% 0.128 -0.0945)
OKLCHoklch(44.92% 0.159 323.6)
XYZxyz(13.6608, 7.8833, 23.3517)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C86 #35862C
analogous
#502C86 #7D2C86 #862C62
triadic
#7D2C86 #867D2C #2C867D
tetradic
#7D2C86 #86502C #35862C #2C6286
square
#7D2C86 #86502C #35862C #2C6286
split-complementary
#7D2C86 #62862C #2C8650
monochromatic
#270E2A #521D58 #7D2C86 #A83BB4 #C161CB

Accessibility & contrast

On white

8.15
#7D2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7D2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C86
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C86#FFFFFF#000000##FFFFFF
##7D2C861.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184989
Deuteranopia (green-blind)
#3A5384
Tritanopia (blue-blind)
#7F3A55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2c86;
/* rgb */ color: rgb(125, 44, 134);
/* oklch */ color: oklch(44.9% 0.159 323.6);
Tailwind
colors: {
  custom: {
    50: '#a56caa',
    500: '#7d2c86',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c86;
$custom-light: #a56caa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c86",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 294,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44923,
    "c": 0.1591,
    "h": 323.6
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#7D2C86
secondary
#65B15C
accent
#DA4E5C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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