#7D3290#7D3290

#7D3290 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.3% C 0.160 H 319.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7D3290
RGBrgb(125, 50, 144)
HSLhsl(288, 48%, 38%)
HSVhsv(288, 65%, 56%)
CMYKcmyk(13.2%, 65.3%, 0%, 43.5%)
CIE-LABlab(35.31, 46.80, -37.61)
CIE-LCHlch(35.31, 60.04, 321.21°)
OKLaboklab(46.25% 0.1208 -0.1051)
OKLCHoklch(46.25% 0.16 319)
XYZxyz(14.6314, 8.6554, 27.2801)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3290 #459032
analogous
#4E3290 #7D3290 #903274
triadic
#7D3290 #907D32 #32907D
tetradic
#7D3290 #904E32 #459032 #327490
square
#7D3290 #904E32 #459032 #327490
split-complementary
#7D3290 #749032 #32904E
monochromatic
#2E1235 #562263 #7D3290 #A442BD #BA6FCD

Accessibility & contrast

On white

7.69
#7D3290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7D3290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3290
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3290#FFFFFF#000000##FFFFFF
##7D32901.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d3290;
/* rgb */ color: rgb(125, 50, 144);
/* oklch */ color: oklch(46.3% 0.160 319.0);
Tailwind
colors: {
  custom: {
    50: '#a56fb1',
    500: '#7d3290',
    950: '#000000',
  },
}
SCSS
$custom: #7d3290;
$custom-light: #a56fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3290",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 287.872,
    "s": 48.454,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46252,
    "c": 0.16013,
    "h": 319
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#7D3290
secondary
#78B569
accent
#D8506B
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3290

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

Preview Lab → · Contrast checker → · Palette generator →

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