#7D337D#7D337D

#7D337D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.3% C 0.140 H 327.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7D337D
RGBrgb(125, 51, 125)
HSLhsl(300, 42%, 35%)
HSVhsv(300, 59%, 49%)
CMYKcmyk(0%, 59.2%, 0%, 51%)
CIE-LABlab(34.41, 42.55, -27.30)
CIE-LCHlch(34.41, 50.56, 327.32°)
OKLaboklab(45.25% 0.1184 -0.0752)
OKLCHoklch(45.25% 0.14 327.6)
XYZxyz(13.3427, 8.2091, 20.2798)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D337D #337D33
analogous
#58337D #7D337D #7D3358
triadic
#7D337D #7D7D33 #337D7D
tetradic
#7D337D #7D5833 #337D33 #33587D
square
#7D337D #7D5833 #337D33 #33587D
split-complementary
#7D337D #587D33 #337D58
monochromatic
#261026 #522152 #7D337D #A845A8 #C269C2

Accessibility & contrast

On white

7.95
#7D337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D337D
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D337D#FFFFFF#000000##FFFFFF
##7D337D1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#44547B
Tritanopia (blue-blind)
#813C53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d337d;
/* rgb */ color: rgb(125, 51, 125);
/* oklch */ color: oklch(45.3% 0.140 327.6);
Tailwind
colors: {
  custom: {
    50: '#a56fa3',
    500: '#7d337d',
    950: '#000000',
  },
}
SCSS
$custom: #7d337d;
$custom-light: #a56fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d337d",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 300,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45252,
    "c": 0.1403,
    "h": 327.6
  },
  "luminance": 0.08208
}

Semantic roles & 50–950 ramp

primary
#7D337D
secondary
#62AA62
accent
#D25656
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7D337D

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

Preview Lab → · Contrast checker → · Palette generator →

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