#7D3597#7D3597

#7D3597 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.163 H 315.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7D3597
RGBrgb(125, 53, 151)
HSLhsl(284, 48%, 40%)
HSVhsv(284, 65%, 59%)
CMYKcmyk(17.2%, 64.9%, 0%, 40.8%)
CIE-LABlab(36.25, 46.85, -40.38)
CIE-LCHlch(36.25, 61.85, 319.24°)
OKLaboklab(47.07% 0.117 -0.1132)
OKLCHoklch(47.07% 0.163 315.9)
XYZxyz(15.3156, 9.1411, 30.2298)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3597 #4F9735
analogous
#4C3597 #7D3597 #973580
triadic
#7D3597 #977D35 #35977D
tetradic
#7D3597 #974C35 #4F9735 #358097
square
#7D3597 #974C35 #4F9735 #358097
split-complementary
#7D3597 #809735 #35974C
monochromatic
#32153C #58256A #7D3597 #A04ABF #B877CF

Accessibility & contrast

On white

7.43
#7D3597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7D3597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3597
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3597#FFFFFF#000000##FFFFFF
##7D35971.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10519A
Deuteranopia (green-blind)
#355795
Tritanopia (blue-blind)
#7B4761
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d3597;
/* rgb */ color: rgb(125, 53, 151);
/* oklch */ color: oklch(47.1% 0.163 315.9);
Tailwind
colors: {
  custom: {
    50: '#a671b6',
    500: '#7d3597',
    950: '#000000',
  },
}
SCSS
$custom: #7d3597;
$custom-light: #a671b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3597",
  "rgb": {
    "r": 125,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 284.082,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.47071,
    "c": 0.16282,
    "h": 315.9
  },
  "luminance": 0.09141
}

Semantic roles & 50–950 ramp

primary
#7D3597
secondary
#83B870
accent
#D85074
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3597

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

Preview Lab → · Contrast checker → · Palette generator →

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