#7D628C#7D628C

#7D628C is a mid, moderate violet. Relative luminance 0.150; OKLCH L 53.9% C 0.071 H 313.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7D628C
RGBrgb(125, 98, 140)
HSLhsl(279, 18%, 47%)
HSVhsv(279, 30%, 55%)
CMYKcmyk(10.7%, 30%, 0%, 45.1%)
CIE-LABlab(45.62, 19.16, -19.06)
CIE-LCHlch(45.62, 27.03, 315.15°)
OKLaboklab(53.87% 0.0489 -0.0521)
OKLCHoklch(53.87% 0.071 313.2)
XYZxyz(17.5580, 14.9890, 26.7741)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D628C #718C62
analogous
#68628C #7D628C #8C6286
triadic
#7D628C #8C7D62 #628C7D
tetradic
#7D628C #8C6862 #718C62 #62868C
square
#7D628C #8C6862 #718C62 #62868C
split-complementary
#7D628C #868C62 #628C68
monochromatic
#3D3044 #5D4968 #7D628C #9B83A8 #B8A7C1

Accessibility & contrast

On white

5.25
#7D628C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7D628C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D628C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D628C#FFFFFF#000000##FFFFFF
##7D628C1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8E
Deuteranopia (green-blind)
#616D8B
Tritanopia (blue-blind)
#7C6771
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d628c;
/* rgb */ color: rgb(125, 98, 140);
/* oklch */ color: oklch(53.9% 0.071 313.2);
Tailwind
colors: {
  custom: {
    50: '#a38fad',
    500: '#7d628c',
    950: '#000000',
  },
}
SCSS
$custom: #7d628c;
$custom-light: #a38fad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d628c",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 140
  },
  "hsl": {
    "h": 278.571,
    "s": 17.647,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53873,
    "c": 0.0714,
    "h": 313.2
  },
  "luminance": 0.14989
}

Semantic roles & 50–950 ramp

primary
#7D628C
secondary
#A2B09A
accent
#BA6D89
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C10
muted
#7F7D7F

Preview Lab

Preview with #7D628C

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

Preview Lab → · Contrast checker → · Palette generator →

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