#7D2986#7D2986

#7D2986 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.163 H 323.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7D2986
RGBrgb(125, 41, 134)
HSLhsl(294, 53%, 34%)
HSVhsv(294, 69%, 53%)
CMYKcmyk(6.7%, 69.4%, 0%, 47.5%)
CIE-LABlab(33.28, 48.80, -34.69)
CIE-LCHlch(33.28, 59.87, 324.59°)
OKLaboklab(44.59% 0.1315 -0.0965)
OKLCHoklch(44.59% 0.163 323.7)
XYZxyz(13.5531, 7.6679, 23.3158)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2986 #328629
analogous
#4F2986 #7D2986 #862961
triadic
#7D2986 #867D29 #29867D
tetradic
#7D2986 #864F29 #328629 #296186
square
#7D2986 #864F29 #328629 #296186
split-complementary
#7D2986 #618629 #29864F
monochromatic
#260C28 #511B57 #7D2986 #A937B5 #C25CCD

Accessibility & contrast

On white

8.29
#7D2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7D2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2986
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2986#FFFFFF#000000##FFFFFF
##7D29861.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114889
Deuteranopia (green-blind)
#385284
Tritanopia (blue-blind)
#7F3854
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2986;
/* rgb */ color: rgb(125, 41, 134);
/* oklch */ color: oklch(44.6% 0.163 323.7);
Tailwind
colors: {
  custom: {
    50: '#a66aaa',
    500: '#7d2986',
    950: '#000000',
  },
}
SCSS
$custom: #7d2986;
$custom-light: #a66aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2986",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 294.194,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44594,
    "c": 0.16316,
    "h": 323.7
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#7D2986
secondary
#61B358
accent
#DD4B59
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2986

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

Preview Lab → · Contrast checker → · Palette generator →

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