#7D3184#7D3184

#7D3184 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.4% C 0.150 H 324.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7D3184
RGBrgb(125, 49, 132)
HSLhsl(295, 46%, 35%)
HSVhsv(295, 63%, 52%)
CMYKcmyk(5.3%, 62.9%, 0%, 48.2%)
CIE-LABlab(34.44, 44.86, -31.60)
CIE-LCHlch(34.44, 54.87, 324.84°)
OKLaboklab(45.4% 0.1217 -0.0876)
OKLCHoklch(45.4% 0.15 324.2)
XYZxyz(13.7203, 8.2233, 22.6899)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3184 #388431
analogous
#533184 #7D3184 #843161
triadic
#7D3184 #847D31 #31847D
tetradic
#7D3184 #845331 #388431 #316184
square
#7D3184 #845331 #388431 #316184
split-complementary
#7D3184 #618431 #318453
monochromatic
#28102B #532057 #7D3184 #A742B1 #BF68C7

Accessibility & contrast

On white

7.94
#7D3184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D3184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3184
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3184#FFFFFF#000000##FFFFFF
##7D31841.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B87
Deuteranopia (green-blind)
#3F5482
Tritanopia (blue-blind)
#7F3D56
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d3184;
/* rgb */ color: rgb(125, 49, 132);
/* oklch */ color: oklch(45.4% 0.150 324.2);
Tailwind
colors: {
  custom: {
    50: '#a56ea8',
    500: '#7d3184',
    950: '#000000',
  },
}
SCSS
$custom: #7d3184;
$custom-light: #a56ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3184",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 132
  },
  "hsl": {
    "h": 294.94,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45397,
    "c": 0.14997,
    "h": 324.2
  },
  "luminance": 0.08223
}

Semantic roles & 50–950 ramp

primary
#7D3184
secondary
#69AE62
accent
#D6525D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D3184

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

Preview Lab → · Contrast checker → · Palette generator →

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