#7D3772#7D3772

#7D3772 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.2% C 0.124 H 333.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7D3772
RGBrgb(125, 55, 114)
HSLhsl(309, 39%, 35%)
HSVhsv(309, 56%, 49%)
CMYKcmyk(0%, 56%, 8.8%, 51%)
CIE-LABlab(34.62, 38.52, -20.09)
CIE-LCHlch(34.62, 43.44, 332.45°)
OKLaboklab(45.22% 0.111 -0.0546)
OKLCHoklch(45.22% 0.124 333.8)
XYZxyz(12.8609, 8.3081, 16.8426)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3772 #377D42
analogous
#65377D #7D3772 #7D374F
triadic
#7D3772 #727D37 #37727D
tetradic
#7D3772 #7D6537 #377D42 #374F7D
square
#7D3772 #7D6537 #377D42 #374F7D
split-complementary
#7D3772 #4F7D37 #377D65
monochromatic
#281224 #52244B #7D3772 #A74A99 #C06FB3

Accessibility & contrast

On white

7.89
#7D3772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7D3772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3772
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3772#FFFFFF#000000##FFFFFF
##7D37721.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B74
Deuteranopia (green-blind)
#4B5570
Tritanopia (blue-blind)
#823B4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d3772;
/* rgb */ color: rgb(125, 55, 114);
/* oklch */ color: oklch(45.2% 0.124 333.8);
Tailwind
colors: {
  custom: {
    50: '#a5719a',
    500: '#7d3772',
    950: '#000000',
  },
}
SCSS
$custom: #7d3772;
$custom-light: #a5719a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3772",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 309.429,
    "s": 38.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45224,
    "c": 0.12368,
    "h": 333.8
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#7D3772
secondary
#67A872
accent
#CF6C59
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080E
muted
#7F7B7E

Preview Lab

Preview with #7D3772

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

Preview Lab → · Contrast checker → · Palette generator →

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