#7D628B#7D628B

#7D628B is a mid, moderate violet. Relative luminance 0.150; OKLCH L 53.8% C 0.070 H 313.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7D628B
RGBrgb(125, 98, 139)
HSLhsl(280, 17%, 46%)
HSVhsv(280, 29%, 55%)
CMYKcmyk(10.1%, 29.5%, 0%, 45.5%)
CIE-LABlab(45.58, 18.94, -18.52)
CIE-LCHlch(45.58, 26.49, 315.64°)
OKLaboklab(53.83% 0.0486 -0.0505)
OKLCHoklch(53.83% 0.07 313.8)
XYZxyz(17.4846, 14.9597, 26.3875)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D628B #708B62
analogous
#69628B #7D628B #8B6285
triadic
#7D628B #8B7D62 #628B7D
tetradic
#7D628B #8B6962 #708B62 #62858B
square
#7D628B #8B6962 #708B62 #62858B
split-complementary
#7D628B #858B62 #628B69
monochromatic
#3C2F43 #5D4967 #7D628B #9B83A7 #B8A7C1

Accessibility & contrast

On white

5.26
#7D628B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D628B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D628B#FFFFFF#000000##FFFFFF
##7D628B1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8D
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#7C6771
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d628b;
/* rgb */ color: rgb(125, 98, 139);
/* oklch */ color: oklch(53.8% 0.070 313.8);
Tailwind
colors: {
  custom: {
    50: '#a38fad',
    500: '#7d628b',
    950: '#000000',
  },
}
SCSS
$custom: #7d628b;
$custom-light: #a38fad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d628b",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 139
  },
  "hsl": {
    "h": 279.512,
    "s": 17.3,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53829,
    "c": 0.0701,
    "h": 313.8
  },
  "luminance": 0.14959
}

Semantic roles & 50–950 ramp

primary
#7D628B
secondary
#A1AF99
accent
#BA6E88
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C10
muted
#7F7D7F

Preview Lab

Preview with #7D628B

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

Preview Lab → · Contrast checker → · Palette generator →

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