#7D5689#7D5689

#7D5689 is a mid, moderate purple. Relative luminance 0.128; OKLCH L 51.5% C 0.090 H 318.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7D5689
RGBrgb(125, 86, 137)
HSLhsl(286, 23%, 44%)
HSVhsv(286, 37%, 54%)
CMYKcmyk(8.8%, 37.2%, 0%, 46.3%)
CIE-LABlab(42.49, 25.66, -22.07)
CIE-LCHlch(42.49, 33.85, 319.31°)
OKLaboklab(51.45% 0.0673 -0.0605)
OKLCHoklch(51.45% 0.09 318)
XYZxyz(16.3000, 12.8221, 25.2783)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5689 #628956
analogous
#635689 #7D5689 #89567B
triadic
#7D5689 #897D56 #56897D
tetradic
#7D5689 #896356 #628956 #567B89
square
#7D5689 #896356 #628956 #567B89
split-complementary
#7D5689 #7B8956 #568963
monochromatic
#38273E #5B3E63 #7D5689 #9C74A8 #B79AC0

Accessibility & contrast

On white

5.89
#7D5689 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7D5689 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5689
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5689#FFFFFF#000000##FFFFFF
##7D56891.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628B
Deuteranopia (green-blind)
#586687
Tritanopia (blue-blind)
#7D5C69
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d5689;
/* rgb */ color: rgb(125, 86, 137);
/* oklch */ color: oklch(51.5% 0.090 318.0);
Tailwind
colors: {
  custom: {
    50: '#a386ab',
    500: '#7d5689',
    950: '#000000',
  },
}
SCSS
$custom: #7d5689;
$custom-light: #a386ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5689",
  "rgb": {
    "r": 125,
    "g": 86,
    "b": 137
  },
  "hsl": {
    "h": 285.882,
    "s": 22.87,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51454,
    "c": 0.09049,
    "h": 318
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#7D5689
secondary
#95AD8E
accent
#BF687D
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7D5689

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

Preview Lab → · Contrast checker → · Palette generator →

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