#7D3F9A#7D3F9A

#7D3F9A is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.6% C 0.151 H 313.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7D3F9A
RGBrgb(125, 63, 154)
HSLhsl(281, 42%, 43%)
HSVhsv(281, 59%, 60%)
CMYKcmyk(18.8%, 59.1%, 0%, 39.6%)
CIE-LABlab(38.28, 42.47, -38.96)
CIE-LCHlch(38.28, 57.63, 317.47°)
OKLaboklab(48.6% 0.1041 -0.1092)
OKLCHoklch(48.6% 0.151 313.6)
XYZxyz(16.0667, 10.2485, 31.6974)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3F9A #5C9A3F
analogous
#503F9A #7D3F9A #9A3F89
triadic
#7D3F9A #9A7D3F #3F9A7D
tetradic
#7D3F9A #9A503F #5C9A3F #3F899A
square
#7D3F9A #9A503F #5C9A3F #3F899A
split-complementary
#7D3F9A #899A3F #3F9A50
monochromatic
#361B43 #5A2D6F #7D3F9A #9D5ABC #B786CD

Accessibility & contrast

On white

6.89
#7D3F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7D3F9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3F9A
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3F9A#FFFFFF#000000##FFFFFF
##7D3F9A1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579D
Deuteranopia (green-blind)
#3B5C98
Tritanopia (blue-blind)
#7A4F66
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d3f9a;
/* rgb */ color: rgb(125, 63, 154);
/* oklch */ color: oklch(48.6% 0.151 313.6);
Tailwind
colors: {
  custom: {
    50: '#a577b8',
    500: '#7d3f9a',
    950: '#000000',
  },
}
SCSS
$custom: #7d3f9a;
$custom-light: #a577b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3f9a",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 154
  },
  "hsl": {
    "h": 280.879,
    "s": 41.935,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48604,
    "c": 0.15083,
    "h": 313.6
  },
  "luminance": 0.10248
}

Semantic roles & 50–950 ramp

primary
#7D3F9A
secondary
#90B87D
accent
#D2567D
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7D3F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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