#7D3D9C#7D3D9C

#7D3D9C is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.4% C 0.156 H 313.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7D3D9C
RGBrgb(125, 61, 156)
HSLhsl(280, 44%, 43%)
HSVhsv(280, 61%, 61%)
CMYKcmyk(19.9%, 60.9%, 0%, 38.8%)
CIE-LABlab(38.02, 43.96, -40.59)
CIE-LCHlch(38.02, 59.83, 317.29°)
OKLaboklab(48.45% 0.1068 -0.1139)
OKLCHoklch(48.45% 0.156 313.1)
XYZxyz(16.1259, 10.0982, 32.5457)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3D9C #5C9C3D
analogous
#4D3D9C #7D3D9C #9C3D8C
triadic
#7D3D9C #9C7D3D #3D9C7D
tetradic
#7D3D9C #9C4D3D #5C9C3D #3D8C9C
square
#7D3D9C #9C4D3D #5C9C3D #3D8C9C
split-complementary
#7D3D9C #8C9C3D #3D9C4D
monochromatic
#361B44 #5A2C70 #7D3D9C #9D58BE #B784CF

Accessibility & contrast

On white

6.95
#7D3D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7D3D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3D9C
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3D9C#FFFFFF#000000##FFFFFF
##7D3D9C1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D569F
Deuteranopia (green-blind)
#385B9A
Tritanopia (blue-blind)
#7A4E67
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d3d9c;
/* rgb */ color: rgb(125, 61, 156);
/* oklch */ color: oklch(48.4% 0.156 313.1);
Tailwind
colors: {
  custom: {
    50: '#a576ba',
    500: '#7d3d9c',
    950: '#000000',
  },
}
SCSS
$custom: #7d3d9c;
$custom-light: #a576ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3d9c",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 156
  },
  "hsl": {
    "h": 280.421,
    "s": 43.779,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.15613,
    "h": 313.1
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#7D3D9C
secondary
#90B97C
accent
#D4547E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7D3D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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