#7D3282#7D3282

#7D3282 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.4% C 0.147 H 325.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7D3282
RGBrgb(125, 50, 130)
HSLhsl(296, 44%, 35%)
HSVhsv(296, 62%, 51%)
CMYKcmyk(3.8%, 61.5%, 0%, 49%)
CIE-LABlab(34.51, 43.99, -30.26)
CIE-LCHlch(34.51, 53.40, 325.48°)
OKLaboklab(45.41% 0.1203 -0.0838)
OKLCHoklch(45.41% 0.147 325.1)
XYZxyz(13.6270, 8.2537, 21.9901)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3282 #378232
analogous
#553282 #7D3282 #82325F
triadic
#7D3282 #827D32 #32827D
tetradic
#7D3282 #825532 #378232 #325F82
square
#7D3282 #825532 #378232 #325F82
split-complementary
#7D3282 #5F8232 #328255
monochromatic
#28102A #522156 #7D3282 #A743AE #C069C5

Accessibility & contrast

On white

7.92
#7D3282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D3282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3282
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3282#FFFFFF#000000##FFFFFF
##7D32821.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B84
Deuteranopia (green-blind)
#405480
Tritanopia (blue-blind)
#803D55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d3282;
/* rgb */ color: rgb(125, 50, 130);
/* oklch */ color: oklch(45.4% 0.147 325.1);
Tailwind
colors: {
  custom: {
    50: '#a56fa6',
    500: '#7d3282',
    950: '#000000',
  },
}
SCSS
$custom: #7d3282;
$custom-light: #a56fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3282",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 296.25,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45406,
    "c": 0.14656,
    "h": 325.1
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#7D3282
secondary
#67AD63
accent
#D4545C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7D3282

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

Preview Lab → · Contrast checker → · Palette generator →

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