#7D2486#7D2486

#7D2486 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.169 H 323.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7D2486
RGBrgb(125, 36, 134)
HSLhsl(294, 58%, 33%)
HSVhsv(294, 73%, 53%)
CMYKcmyk(6.7%, 73.1%, 0%, 47.5%)
CIE-LABlab(32.58, 50.79, -35.81)
CIE-LCHlch(32.58, 62.14, 324.81°)
OKLaboklab(44.09% 0.137 -0.0998)
OKLCHoklch(44.09% 0.169 323.9)
XYZxyz(13.3910, 7.3438, 23.2618)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2486 #2D8624
analogous
#4C2486 #7D2486 #86245E
triadic
#7D2486 #867D24 #24867D
tetradic
#7D2486 #864C24 #2D8624 #245E86
square
#7D2486 #864C24 #2D8624 #245E86
split-complementary
#7D2486 #5E8624 #24864C
monochromatic
#230A26 #501756 #7D2486 #AA31B6 #C553D1

Accessibility & contrast

On white

8.51
#7D2486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7D2486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2486
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2486#FFFFFF#000000##FFFFFF
##7D24861.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034689
Deuteranopia (green-blind)
#355084
Tritanopia (blue-blind)
#7F3553
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2486;
/* rgb */ color: rgb(125, 36, 134);
/* oklch */ color: oklch(44.1% 0.169 323.9);
Tailwind
colors: {
  custom: {
    50: '#a668aa',
    500: '#7d2486',
    950: '#000000',
  },
}
SCSS
$custom: #7d2486;
$custom-light: #a668aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2486",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 294.49,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44089,
    "c": 0.16948,
    "h": 323.9
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#7D2486
secondary
#5AB551
accent
#E14755
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2486

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

Preview Lab → · Contrast checker → · Palette generator →

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