#7D3C8A#7D3C8A

#7D3C8A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.2% C 0.138 H 320.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7D3C8A
RGBrgb(125, 60, 138)
HSLhsl(290, 39%, 39%)
HSVhsv(290, 57%, 54%)
CMYKcmyk(9.4%, 56.5%, 0%, 45.9%)
CIE-LABlab(36.79, 40.58, -31.59)
CIE-LCHlch(36.79, 51.43, 322.11°)
OKLaboklab(47.22% 0.1072 -0.0877)
OKLCHoklch(47.22% 0.138 320.7)
XYZxyz(14.6602, 9.4273, 25.0873)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3C8A #498A3C
analogous
#563C8A #7D3C8A #8A3C70
triadic
#7D3C8A #8A7D3C #3C8A7D
tetradic
#7D3C8A #8A563C #498A3C #3C708A
square
#7D3C8A #8A563C #498A3C #3C708A
split-complementary
#7D3C8A #708A3C #3C8A56
monochromatic
#301735 #56295F #7D3C8A #A350B3 #B97BC6

Accessibility & contrast

On white

7.28
#7D3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7D3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3C8A
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3C8A#FFFFFF#000000##FFFFFF
##7D3C8A1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#435988
Tritanopia (blue-blind)
#7E475D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d3c8a;
/* rgb */ color: rgb(125, 60, 138);
/* oklch */ color: oklch(47.2% 0.138 320.7);
Tailwind
colors: {
  custom: {
    50: '#a575ac',
    500: '#7d3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7d3c8a;
$custom-light: #a575ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3c8a",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 290,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.13848,
    "h": 320.7
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

primary
#7D3C8A
secondary
#7DAF73
accent
#CF596C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7D3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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