#7D628A#7D628A

#7D628A is a mid, moderate purple. Relative luminance 0.149; OKLCH L 53.8% C 0.069 H 314.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7D628A
RGBrgb(125, 98, 138)
HSLhsl(281, 17%, 46%)
HSVhsv(281, 29%, 54%)
CMYKcmyk(9.4%, 29%, 0%, 45.9%)
CIE-LABlab(45.54, 18.72, -17.99)
CIE-LCHlch(45.54, 25.96, 316.14°)
OKLaboklab(53.79% 0.0483 -0.049)
OKLCHoklch(53.79% 0.069 314.5)
XYZxyz(17.4119, 14.9306, 26.0045)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D628A #6F8A62
analogous
#69628A #7D628A #8A6283
triadic
#7D628A #8A7D62 #628A7D
tetradic
#7D628A #8A6962 #6F8A62 #62838A
square
#7D628A #8A6962 #6F8A62 #62838A
split-complementary
#7D628A #838A62 #628A69
monochromatic
#3C2F42 #5D4966 #7D628A #9B83A7 #B8A6C0

Accessibility & contrast

On white

5.27
#7D628A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7D628A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D628A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D628A#FFFFFF#000000##FFFFFF
##7D628A1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8C
Deuteranopia (green-blind)
#626D89
Tritanopia (blue-blind)
#7C6770
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d628a;
/* rgb */ color: rgb(125, 98, 138);
/* oklch */ color: oklch(53.8% 0.069 314.5);
Tailwind
colors: {
  custom: {
    50: '#a38fac',
    500: '#7d628a',
    950: '#000000',
  },
}
SCSS
$custom: #7d628a;
$custom-light: #a38fac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d628a",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 138
  },
  "hsl": {
    "h": 280.5,
    "s": 16.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53785,
    "c": 0.0688,
    "h": 314.5
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#7D628A
secondary
#A0AF99
accent
#BA6E87
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C10
muted
#7F7D7F

Preview Lab

Preview with #7D628A

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

Preview Lab → · Contrast checker → · Palette generator →

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