#7D3687#7D3687

#7D3687 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.2% C 0.145 H 322.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7D3687
RGBrgb(125, 54, 135)
HSLhsl(293, 43%, 37%)
HSVhsv(293, 60%, 53%)
CMYKcmyk(7.4%, 60%, 0%, 47.1%)
CIE-LABlab(35.50, 43.03, -31.79)
CIE-LCHlch(35.50, 53.50, 323.54°)
OKLaboklab(46.22% 0.1153 -0.0882)
OKLCHoklch(46.22% 0.145 322.6)
XYZxyz(14.1493, 8.7483, 23.8603)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3687 #408736
analogous
#553687 #7D3687 #873668
triadic
#7D3687 #877D36 #36877D
tetradic
#7D3687 #875536 #408736 #366887
square
#7D3687 #875536 #408736 #366887
split-complementary
#7D3687 #688736 #368755
monochromatic
#2C1330 #55255B #7D3687 #A547B3 #BC71C6

Accessibility & contrast

On white

7.64
#7D3687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7D3687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3687
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3687#FFFFFF#000000##FFFFFF
##7D36871.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E8A
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#7F4259
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d3687;
/* rgb */ color: rgb(125, 54, 135);
/* oklch */ color: oklch(46.2% 0.145 322.6);
Tailwind
colors: {
  custom: {
    50: '#a571aa',
    500: '#7d3687',
    950: '#000000',
  },
}
SCSS
$custom: #7d3687;
$custom-light: #a571aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3687",
  "rgb": {
    "r": 125,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 292.593,
    "s": 42.857,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46216,
    "c": 0.14516,
    "h": 322.6
  },
  "luminance": 0.08748
}

Semantic roles & 50–950 ramp

primary
#7D3687
secondary
#73AF6A
accent
#D35565
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7D3687

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

Preview Lab → · Contrast checker → · Palette generator →

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