#7D628D#7D628D

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

Color values

HEX#7D628D
RGBrgb(125, 98, 141)
HSLhsl(278, 18%, 47%)
HSVhsv(278, 30%, 55%)
CMYKcmyk(11.3%, 30.5%, 0%, 44.7%)
CIE-LABlab(45.66, 19.39, -19.59)
CIE-LCHlch(45.66, 27.56, 314.69°)
OKLaboklab(53.92% 0.0492 -0.0536)
OKLCHoklch(53.92% 0.073 312.5)
XYZxyz(17.6320, 15.0187, 27.1642)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D628D #728D62
analogous
#67628D #7D628D #8D6288
triadic
#7D628D #8D7D62 #628D7D
tetradic
#7D628D #8D6762 #728D62 #62888D
square
#7D628D #8D6762 #728D62 #62888D
split-complementary
#7D628D #888D62 #628D67
monochromatic
#3D3045 #5D4969 #7D628D #9B83A9 #B8A7C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D628D#FFFFFF#000000##FFFFFF
##7D628D1.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)
#5B6B8F
Deuteranopia (green-blind)
#616D8C
Tritanopia (blue-blind)
#7C6771
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d628d;
/* rgb */ color: rgb(125, 98, 141);
/* oklch */ color: oklch(53.9% 0.073 312.5);
Tailwind
colors: {
  custom: {
    50: '#a38fae',
    500: '#7d628d',
    950: '#000000',
  },
}
SCSS
$custom: #7d628d;
$custom-light: #a38fae;
$custom-dark: #000000;
JSON
{
  "hex": "#7d628d",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 141
  },
  "hsl": {
    "h": 277.674,
    "s": 17.992,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53917,
    "c": 0.07272,
    "h": 312.5
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#7D628D
secondary
#A3B19A
accent
#BB6D8A
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C10
muted
#7F7D7F

Preview Lab

Preview with #7D628D

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

Preview Lab → · Contrast checker → · Palette generator →

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