#7D3190#7D3190

#7D3190 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.1% C 0.162 H 319.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7D3190
RGBrgb(125, 49, 144)
HSLhsl(288, 49%, 38%)
HSVhsv(288, 66%, 56%)
CMYKcmyk(13.2%, 66%, 0%, 43.5%)
CIE-LABlab(35.14, 47.26, -37.88)
CIE-LCHlch(35.14, 60.57, 321.29°)
OKLaboklab(46.13% 0.122 -0.1059)
OKLCHoklch(46.13% 0.162 319)
XYZxyz(14.5891, 8.5709, 27.2660)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3190 #449031
analogous
#4D3190 #7D3190 #903173
triadic
#7D3190 #907D31 #31907D
tetradic
#7D3190 #904D31 #449031 #317390
square
#7D3190 #904D31 #449031 #317390
split-complementary
#7D3190 #739031 #31904D
monochromatic
#2E1235 #552162 #7D3190 #A541BE #BA6ECE

Accessibility & contrast

On white

7.74
#7D3190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7D3190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3190
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3190#FFFFFF#000000##FFFFFF
##7D31901.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134E93
Deuteranopia (green-blind)
#37558E
Tritanopia (blue-blind)
#7D425C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d3190;
/* rgb */ color: rgb(125, 49, 144);
/* oklch */ color: oklch(46.1% 0.162 319.0);
Tailwind
colors: {
  custom: {
    50: '#a56fb1',
    500: '#7d3190',
    950: '#000000',
  },
}
SCSS
$custom: #7d3190;
$custom-light: #a56fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3190",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 288,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46131,
    "c": 0.16156,
    "h": 319
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#7D3190
secondary
#77B568
accent
#D94F6B
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3190

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

Preview Lab → · Contrast checker → · Palette generator →

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