#7D3292#7D3292

#7D3292 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.162 H 318.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7D3292
RGBrgb(125, 50, 146)
HSLhsl(287, 49%, 38%)
HSVhsv(287, 66%, 57%)
CMYKcmyk(14.4%, 65.8%, 0%, 42.7%)
CIE-LABlab(35.43, 47.21, -38.64)
CIE-LCHlch(35.43, 61.01, 320.70°)
OKLaboklab(46.38% 0.1208 -0.1082)
OKLCHoklch(46.38% 0.162 318.1)
XYZxyz(14.7856, 8.7171, 28.0923)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3292 #479232
analogous
#4D3292 #7D3292 #923277
triadic
#7D3292 #927D32 #32927D
tetradic
#7D3292 #924D32 #479232 #327792
square
#7D3292 #924D32 #479232 #327792
split-complementary
#7D3292 #779232 #32924D
monochromatic
#2F1337 #562264 #7D3292 #A343BF #BA70CE

Accessibility & contrast

On white

7.65
#7D3292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7D3292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3292
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3292#FFFFFF#000000##FFFFFF
##7D32921.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124E95
Deuteranopia (green-blind)
#365690
Tritanopia (blue-blind)
#7D435D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d3292;
/* rgb */ color: rgb(125, 50, 146);
/* oklch */ color: oklch(46.4% 0.162 318.1);
Tailwind
colors: {
  custom: {
    50: '#a66fb2',
    500: '#7d3292',
    950: '#000000',
  },
}
SCSS
$custom: #7d3292;
$custom-light: #a66fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3292",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 146
  },
  "hsl": {
    "h": 286.875,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46379,
    "c": 0.16211,
    "h": 318.1
  },
  "luminance": 0.08717
}

Semantic roles & 50–950 ramp

primary
#7D3292
secondary
#7AB66A
accent
#D94F6D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3292

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

Preview Lab → · Contrast checker → · Palette generator →

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