#7D367D#7D367D

#7D367D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.7% C 0.135 H 327.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7D367D
RGBrgb(125, 54, 125)
HSLhsl(300, 40%, 35%)
HSVhsv(300, 57%, 49%)
CMYKcmyk(0%, 56.8%, 0%, 51%)
CIE-LABlab(34.96, 41.07, -26.43)
CIE-LCHlch(34.96, 48.84, 327.23°)
OKLaboklab(45.65% 0.1142 -0.0727)
OKLCHoklch(45.65% 0.135 327.5)
XYZxyz(13.4781, 8.4798, 20.3249)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D367D #367D36
analogous
#59367D #7D367D #7D3659
triadic
#7D367D #7D7D36 #367D7D
tetradic
#7D367D #7D5936 #367D36 #36597D
square
#7D367D #7D5936 #367D36 #36597D
split-complementary
#7D367D #597D36 #367D59
monochromatic
#281128 #522452 #7D367D #A848A8 #C06DC0

Accessibility & contrast

On white

7.79
#7D367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7D367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D367D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D367D#FFFFFF#000000##FFFFFF
##7D367D1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#45567B
Tritanopia (blue-blind)
#813E54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d367d;
/* rgb */ color: rgb(125, 54, 125);
/* oklch */ color: oklch(45.7% 0.135 327.5);
Tailwind
colors: {
  custom: {
    50: '#a571a3',
    500: '#7d367d',
    950: '#000000',
  },
}
SCSS
$custom: #7d367d;
$custom-light: #a571a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d367d",
  "rgb": {
    "r": 125,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 300,
    "s": 39.665,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45654,
    "c": 0.13544,
    "h": 327.5
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#7D367D
secondary
#66A966
accent
#D05858
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7D367D

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

Preview Lab → · Contrast checker → · Palette generator →

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