#7D3D9D#7D3D9D

#7D3D9D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.5% C 0.157 H 312.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7D3D9D
RGBrgb(125, 61, 157)
HSLhsl(280, 44%, 43%)
HSVhsv(280, 61%, 62%)
CMYKcmyk(20.4%, 61.1%, 0%, 38.4%)
CIE-LABlab(38.08, 44.19, -41.09)
CIE-LCHlch(38.08, 60.34, 317.08°)
OKLaboklab(48.51% 0.1068 -0.1154)
OKLCHoklch(48.51% 0.157 312.8)
XYZxyz(16.2109, 10.1322, 32.9935)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3D9D #5D9D3D
analogous
#4D3D9D #7D3D9D #9D3D8D
triadic
#7D3D9D #9D7D3D #3D9D7D
tetradic
#7D3D9D #9D4D3D #5D9D3D #3D8D9D
square
#7D3D9D #9D4D3D #5D9D3D #3D8D9D
split-complementary
#7D3D9D #8D9D3D #3D9D4D
monochromatic
#371B45 #5A2C71 #7D3D9D #9D59BE #B785D0

Accessibility & contrast

On white

6.94
#7D3D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7D3D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3D9D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3D9D#FFFFFF#000000##FFFFFF
##7D3D9D1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B56A0
Deuteranopia (green-blind)
#375B9B
Tritanopia (blue-blind)
#7A4E67
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d3d9d;
/* rgb */ color: rgb(125, 61, 157);
/* oklch */ color: oklch(48.5% 0.157 312.8);
Tailwind
colors: {
  custom: {
    50: '#a576ba',
    500: '#7d3d9d',
    950: '#000000',
  },
}
SCSS
$custom: #7d3d9d;
$custom-light: #a576ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3d9d",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 280,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48512,
    "c": 0.15722,
    "h": 312.8
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#7D3D9D
secondary
#91BA7C
accent
#D4547F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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