#7D3A97#7D3A97

#7D3A97 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.7% C 0.155 H 315.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7D3A97
RGBrgb(125, 58, 151)
HSLhsl(283, 44%, 41%)
HSVhsv(283, 62%, 59%)
CMYKcmyk(17.2%, 61.6%, 0%, 40.8%)
CIE-LABlab(37.15, 44.39, -38.94)
CIE-LCHlch(37.15, 59.05, 318.74°)
OKLaboklab(47.72% 0.1106 -0.1091)
OKLCHoklch(47.72% 0.155 315.4)
XYZxyz(15.5555, 9.6210, 30.3098)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3A97 #54973A
analogous
#4E3A97 #7D3A97 #973A82
triadic
#7D3A97 #977D3A #3A977D
tetradic
#7D3A97 #974E3A #54973A #3A8297
square
#7D3A97 #974E3A #54973A #3A8297
split-complementary
#7D3A97 #82973A #3A974E
monochromatic
#34183F #58296B #7D3A97 #9F52BC #B77ECD

Accessibility & contrast

On white

7.18
#7D3A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7D3A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3A97
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3A97#FFFFFF#000000##FFFFFF
##7D3A971.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#395995
Tritanopia (blue-blind)
#7B4A63
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d3a97;
/* rgb */ color: rgb(125, 58, 151);
/* oklch */ color: oklch(47.7% 0.155 315.4);
Tailwind
colors: {
  custom: {
    50: '#a574b6',
    500: '#7d3a97',
    950: '#000000',
  },
}
SCSS
$custom: #7d3a97;
$custom-light: #a574b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3a97",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 283.226,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47722,
    "c": 0.15537,
    "h": 315.4
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#7D3A97
secondary
#88B776
accent
#D45478
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3A97

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

Preview Lab → · Contrast checker → · Palette generator →

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