#7D3790#7D3790

#7D3790 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 46.9% C 0.153 H 318.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7D3790
RGBrgb(125, 55, 144)
HSLhsl(287, 45%, 39%)
HSVhsv(287, 62%, 56%)
CMYKcmyk(13.2%, 61.8%, 0%, 43.5%)
CIE-LABlab(36.19, 44.39, -36.22)
CIE-LCHlch(36.19, 57.29, 320.79°)
OKLaboklab(46.89% 0.1144 -0.1011)
OKLCHoklch(46.89% 0.153 318.5)
XYZxyz(14.8570, 9.1066, 27.3553)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3790 #4A9037
analogous
#513790 #7D3790 #903777
triadic
#7D3790 #907D37 #37907D
tetradic
#7D3790 #905137 #4A9037 #377790
square
#7D3790 #905137 #4A9037 #377790
split-complementary
#7D3790 #779037 #379051
monochromatic
#301537 #572664 #7D3790 #A24ABA #B977CB

Accessibility & contrast

On white

7.44
#7D3790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7D3790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3790
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3790#FFFFFF#000000##FFFFFF
##7D37901.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205093
Deuteranopia (green-blind)
#3C578E
Tritanopia (blue-blind)
#7D465E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d3790;
/* rgb */ color: rgb(125, 55, 144);
/* oklch */ color: oklch(46.9% 0.153 318.5);
Tailwind
colors: {
  custom: {
    50: '#a572b1',
    500: '#7d3790',
    950: '#000000',
  },
}
SCSS
$custom: #7d3790;
$custom-light: #a572b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3790",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 287.191,
    "s": 44.724,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46887,
    "c": 0.15268,
    "h": 318.5
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

primary
#7D3790
secondary
#7EB46F
accent
#D4536F
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3790

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

Preview Lab → · Contrast checker → · Palette generator →

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