#7D3296#7D3296

#7D3296 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.166 H 316.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7D3296
RGBrgb(125, 50, 150)
HSLhsl(285, 50%, 39%)
HSVhsv(285, 67%, 59%)
CMYKcmyk(16.7%, 66.7%, 0%, 41.2%)
CIE-LABlab(35.68, 48.05, -40.69)
CIE-LCHlch(35.68, 62.96, 319.74°)
OKLaboklab(46.64% 0.1207 -0.1141)
OKLCHoklch(46.64% 0.166 316.6)
XYZxyz(15.1022, 8.8438, 29.7597)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3296 #4B9632
analogous
#4B3296 #7D3296 #96327D
triadic
#7D3296 #967D32 #32967D
tetradic
#7D3296 #964B32 #4B9632 #327D96
square
#7D3296 #964B32 #4B9632 #327D96
split-complementary
#7D3296 #7D9632 #32964B
monochromatic
#31133A #572368 #7D3296 #A244C1 #B972D0

Accessibility & contrast

On white

7.59
#7D3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7D3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3296
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3296#FFFFFF#000000##FFFFFF
##7D32961.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F99
Deuteranopia (green-blind)
#335694
Tritanopia (blue-blind)
#7C4460
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d3296;
/* rgb */ color: rgb(125, 50, 150);
/* oklch */ color: oklch(46.6% 0.166 316.6);
Tailwind
colors: {
  custom: {
    50: '#a670b5',
    500: '#7d3296',
    950: '#000000',
  },
}
SCSS
$custom: #7d3296;
$custom-light: #a670b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3296",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 285,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46637,
    "c": 0.16609,
    "h": 316.6
  },
  "luminance": 0.08843
}

Semantic roles & 50–950 ramp

primary
#7D3296
secondary
#7FB86C
accent
#DA4E71
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3296

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

Preview Lab → · Contrast checker → · Palette generator →

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