#7D2386#7D2386

#7D2386 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.171 H 324.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7D2386
RGBrgb(125, 35, 134)
HSLhsl(295, 59%, 33%)
HSVhsv(295, 74%, 53%)
CMYKcmyk(6.7%, 73.9%, 0%, 47.5%)
CIE-LABlab(32.45, 51.16, -36.02)
CIE-LCHlch(32.45, 62.57, 324.86°)
OKLaboklab(44% 0.138 -0.1004)
OKLCHoklch(44% 0.171 324)
XYZxyz(13.3612, 7.2841, 23.2518)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2386 #2C8623
analogous
#4B2386 #7D2386 #86235E
triadic
#7D2386 #867D23 #23867D
tetradic
#7D2386 #864B23 #2C8623 #235E86
square
#7D2386 #864B23 #2C8623 #235E86
split-complementary
#7D2386 #5E8623 #23864B
monochromatic
#220A25 #501655 #7D2386 #AA30B7 #C652D2

Accessibility & contrast

On white

8.55
#7D2386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7D2386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2386
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2386#FFFFFF#000000##FFFFFF
##7D23861.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#355084
Tritanopia (blue-blind)
#7F3452
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2386;
/* rgb */ color: rgb(125, 35, 134);
/* oklch */ color: oklch(44.0% 0.171 324.0);
Tailwind
colors: {
  custom: {
    50: '#a667aa',
    500: '#7d2386',
    950: '#000000',
  },
}
SCSS
$custom: #7d2386;
$custom-light: #a667aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2386",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 294.545,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43995,
    "c": 0.17067,
    "h": 324
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#7D2386
secondary
#59B54F
accent
#E24654
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2386

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

Preview Lab → · Contrast checker → · Palette generator →

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