#7E598B#7E598B

#7E598B is a mid, moderate purple. Relative luminance 0.134; OKLCH L 52.2% C 0.088 H 317.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7E598B
RGBrgb(126, 89, 139)
HSLhsl(284, 22%, 45%)
HSVhsv(284, 36%, 55%)
CMYKcmyk(9.4%, 36%, 0%, 45.5%)
CIE-LABlab(43.43, 24.66, -21.83)
CIE-LCHlch(43.43, 32.93, 318.49°)
OKLaboklab(52.21% 0.0643 -0.0598)
OKLCHoklch(52.21% 0.088 317)
XYZxyz(16.8361, 13.4449, 26.1293)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E598B #668B59
analogous
#65598B #7E598B #8B597F
triadic
#7E598B #8B7E59 #598B7E
tetradic
#7E598B #8B6559 #668B59 #597F8B
square
#7E598B #8B6559 #668B59 #597F8B
split-complementary
#7E598B #7F8B59 #598B65
monochromatic
#3A2940 #5C4166 #7E598B #9C78A9 #B89EC1

Accessibility & contrast

On white

5.69
#7E598B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7E598B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E598B
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E598B#FFFFFF#000000##FFFFFF
##7E598B1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648D
Deuteranopia (green-blind)
#5B6889
Tritanopia (blue-blind)
#7E5F6C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e598b;
/* rgb */ color: rgb(126, 89, 139);
/* oklch */ color: oklch(52.2% 0.088 317.0);
Tailwind
colors: {
  custom: {
    50: '#a488ad',
    500: '#7e598b',
    950: '#000000',
  },
}
SCSS
$custom: #7e598b;
$custom-light: #a488ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7e598b",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 139
  },
  "hsl": {
    "h": 284.4,
    "s": 21.93,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52214,
    "c": 0.08779,
    "h": 317
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#7E598B
secondary
#99AE91
accent
#BE697F
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7E598B

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

Preview Lab → · Contrast checker → · Palette generator →

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