#7E587C#7E587C

#7E587C is a mid, moderate purple. Relative luminance 0.129; OKLCH L 51.4% C 0.072 H 328.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7E587C
RGBrgb(126, 88, 124)
HSLhsl(303, 18%, 42%)
HSVhsv(303, 30%, 49%)
CMYKcmyk(0%, 30.2%, 1.6%, 50.6%)
CIE-LABlab(42.57, 22.08, -14.06)
CIE-LCHlch(42.57, 26.17, 327.51°)
OKLaboklab(51.36% 0.0615 -0.0379)
OKLCHoklch(51.36% 0.072 328.3)
XYZxyz(15.7317, 12.8709, 20.7205)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E587C #587E5A
analogous
#6D587E #7E587C #7E5869
triadic
#7E587C #7C7E58 #587C7E
tetradic
#7E587C #7E6D58 #587E5A #58697E
square
#7E587C #7E6D58 #587E5A #58697E
split-complementary
#7E587C #697E58 #587E6D
monochromatic
#362635 #5A3F59 #7E587C #9E759C #B899B6

Accessibility & contrast

On white

5.88
#7E587C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7E587C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E587C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E587C#FFFFFF#000000##FFFFFF
##7E587C1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617D
Deuteranopia (green-blind)
#5F667B
Tritanopia (blue-blind)
#815B65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e587c;
/* rgb */ color: rgb(126, 88, 124);
/* oklch */ color: oklch(51.4% 0.072 328.3);
Tailwind
colors: {
  custom: {
    50: '#a487a2',
    500: '#7e587c',
    950: '#000000',
  },
}
SCSS
$custom: #7e587c;
$custom-light: #a487a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e587c",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 124
  },
  "hsl": {
    "h": 303.158,
    "s": 17.757,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.07228,
    "h": 328.3
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#7E587C
secondary
#8CA68E
accent
#BA716D
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0B0F
muted
#7F7C7E

Preview Lab

Preview with #7E587C

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

Preview Lab → · Contrast checker → · Palette generator →

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