#7D3786#7D3786

#7D3786 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.3% C 0.143 H 323.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7D3786
RGBrgb(125, 55, 134)
HSLhsl(293, 42%, 37%)
HSVhsv(293, 59%, 53%)
CMYKcmyk(6.7%, 59%, 0%, 47.5%)
CIE-LABlab(35.62, 42.33, -30.97)
CIE-LCHlch(35.62, 52.45, 323.81°)
OKLaboklab(46.29% 0.1138 -0.0859)
OKLCHoklch(46.29% 0.143 323)
XYZxyz(14.1263, 8.8143, 23.5069)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3786 #408637
analogous
#563786 #7D3786 #863767
triadic
#7D3786 #867D37 #37867D
tetradic
#7D3786 #865637 #408637 #376786
square
#7D3786 #865637 #408637 #376786
split-complementary
#7D3786 #678637 #378656
monochromatic
#2C132F #55255B #7D3786 #A549B1 #BC72C5

Accessibility & contrast

On white

7.60
#7D3786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7D3786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3786
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3786#FFFFFF#000000##FFFFFF
##7D37861.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E88
Deuteranopia (green-blind)
#425784
Tritanopia (blue-blind)
#7F4259
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d3786;
/* rgb */ color: rgb(125, 55, 134);
/* oklch */ color: oklch(46.3% 0.143 323.0);
Tailwind
colors: {
  custom: {
    50: '#a572a9',
    500: '#7d3786',
    950: '#000000',
  },
}
SCSS
$custom: #7d3786;
$custom-light: #a572a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3786",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 293.165,
    "s": 41.799,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46293,
    "c": 0.14256,
    "h": 323
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#7D3786
secondary
#73AE6B
accent
#D25664
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7D3786

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

Preview Lab → · Contrast checker → · Palette generator →

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