#7D337C#7D337C

#7D337C is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.2% C 0.139 H 328.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7D337C
RGBrgb(125, 51, 124)
HSLhsl(301, 42%, 35%)
HSVhsv(301, 59%, 49%)
CMYKcmyk(0%, 59.2%, 0.8%, 51%)
CIE-LABlab(34.36, 42.37, -26.75)
CIE-LCHlch(34.36, 50.11, 327.73°)
OKLaboklab(45.2% 0.1183 -0.0736)
OKLCHoklch(45.2% 0.139 328.1)
XYZxyz(13.2792, 8.1837, 19.9451)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D337C #337D34
analogous
#59337D #7D337C #7D3357
triadic
#7D337C #7C7D33 #337C7D
tetradic
#7D337C #7D5933 #337D34 #33577D
square
#7D337C #7D5933 #337D34 #33577D
split-complementary
#7D337C #577D33 #337D59
monochromatic
#261026 #522151 #7D337C #A845A7 #C269C0

Accessibility & contrast

On white

7.96
#7D337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D337C
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D337C#FFFFFF#000000##FFFFFF
##7D337C1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#44547A
Tritanopia (blue-blind)
#813C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d337c;
/* rgb */ color: rgb(125, 51, 124);
/* oklch */ color: oklch(45.2% 0.139 328.1);
Tailwind
colors: {
  custom: {
    50: '#a56fa2',
    500: '#7d337c',
    950: '#000000',
  },
}
SCSS
$custom: #7d337c;
$custom-light: #a56fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d337c",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 300.811,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45197,
    "c": 0.13936,
    "h": 328.1
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#7D337C
secondary
#62AA63
accent
#D25856
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7D337C

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

Preview Lab → · Contrast checker → · Palette generator →

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