#7D3191#7D3191

#7D3191 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.163 H 318.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7D3191
RGBrgb(125, 49, 145)
HSLhsl(288, 49%, 38%)
HSVhsv(288, 66%, 57%)
CMYKcmyk(13.8%, 66.2%, 0%, 43.1%)
CIE-LABlab(35.21, 47.47, -38.40)
CIE-LCHlch(35.21, 61.05, 321.03°)
OKLaboklab(46.19% 0.122 -0.1074)
OKLCHoklch(46.19% 0.163 318.6)
XYZxyz(14.6659, 8.6016, 27.6703)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3191 #459131
analogous
#4D3191 #7D3191 #913175
triadic
#7D3191 #917D31 #31917D
tetradic
#7D3191 #914D31 #459131 #317591
square
#7D3191 #914D31 #459131 #317591
split-complementary
#7D3191 #759131 #31914D
monochromatic
#2E1236 #562263 #7D3191 #A441BF #BA6ECE

Accessibility & contrast

On white

7.72
#7D3191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7D3191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3191
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3191#FFFFFF#000000##FFFFFF
##7D31911.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E94
Deuteranopia (green-blind)
#36558F
Tritanopia (blue-blind)
#7D425D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d3191;
/* rgb */ color: rgb(125, 49, 145);
/* oklch */ color: oklch(46.2% 0.163 318.6);
Tailwind
colors: {
  custom: {
    50: '#a66fb2',
    500: '#7d3191',
    950: '#000000',
  },
}
SCSS
$custom: #7d3191;
$custom-light: #a66fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3191",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 287.5,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46194,
    "c": 0.16254,
    "h": 318.6
  },
  "luminance": 0.08601
}

Semantic roles & 50–950 ramp

primary
#7D3191
secondary
#78B668
accent
#D94F6C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3191

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

Preview Lab → · Contrast checker → · Palette generator →

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