#7D3586#7D3586

#7D3586 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.0% C 0.146 H 323.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7D3586
RGBrgb(125, 53, 134)
HSLhsl(293, 43%, 37%)
HSVhsv(293, 60%, 53%)
CMYKcmyk(6.7%, 60.4%, 0%, 47.5%)
CIE-LABlab(35.26, 43.33, -31.55)
CIE-LCHlch(35.26, 53.60, 323.94°)
OKLaboklab(46.03% 0.1165 -0.0875)
OKLCHoklch(46.03% 0.146 323.1)
XYZxyz(14.0332, 8.6281, 23.4759)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3586 #3E8635
analogous
#553586 #7D3586 #863567
triadic
#7D3586 #867D35 #35867D
tetradic
#7D3586 #865535 #3E8635 #356786
square
#7D3586 #865535 #3E8635 #356786
split-complementary
#7D3586 #678635 #358655
monochromatic
#2B122E #54245A #7D3586 #A646B2 #BC6FC6

Accessibility & contrast

On white

7.71
#7D3586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7D3586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3586
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3586#FFFFFF#000000##FFFFFF
##7D35861.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D89
Deuteranopia (green-blind)
#405684
Tritanopia (blue-blind)
#7F4158
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d3586;
/* rgb */ color: rgb(125, 53, 134);
/* oklch */ color: oklch(46.0% 0.146 323.1);
Tailwind
colors: {
  custom: {
    50: '#a571a9',
    500: '#7d3586',
    950: '#000000',
  },
}
SCSS
$custom: #7d3586;
$custom-light: #a571a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3586",
  "rgb": {
    "r": 125,
    "g": 53,
    "b": 134
  },
  "hsl": {
    "h": 293.333,
    "s": 43.316,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46026,
    "c": 0.14574,
    "h": 323.1
  },
  "luminance": 0.08627
}

Semantic roles & 50–950 ramp

primary
#7D3586
secondary
#70AE68
accent
#D35563
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7D3586

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

Preview Lab → · Contrast checker → · Palette generator →

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