#7D5597#7D5597

#7D5597 is a mid, moderate violet. Relative luminance 0.131; OKLCH L 52.0% C 0.110 H 311.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7D5597
RGBrgb(125, 85, 151)
HSLhsl(276, 28%, 46%)
HSVhsv(276, 44%, 59%)
CMYKcmyk(17.2%, 43.7%, 0%, 40.8%)
CIE-LABlab(42.90, 29.43, -29.86)
CIE-LCHlch(42.90, 41.92, 314.58°)
OKLaboklab(51.97% 0.0719 -0.0828)
OKLCHoklch(51.97% 0.11 311)
XYZxyz(17.2909, 13.0916, 30.8882)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5597 #6F9755
analogous
#5C5597 #7D5597 #975590
triadic
#7D5597 #977D55 #55977D
tetradic
#7D5597 #975C55 #6F9755 #559097
square
#7D5597 #975C55 #6F9755 #559097
split-complementary
#7D5597 #909755 #55975C
monochromatic
#3C2949 #5D3F70 #7D5597 #9B77B2 #B89EC8

Accessibility & contrast

On white

5.80
#7D5597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7D5597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5597
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5597#FFFFFF#000000##FFFFFF
##7D55971.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476399
Deuteranopia (green-blind)
#516695
Tritanopia (blue-blind)
#7A5F6F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d5597;
/* rgb */ color: rgb(125, 85, 151);
/* oklch */ color: oklch(52.0% 0.110 311.0);
Tailwind
colors: {
  custom: {
    50: '#a486b6',
    500: '#7d5597',
    950: '#000000',
  },
}
SCSS
$custom: #7d5597;
$custom-light: #a486b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5597",
  "rgb": {
    "r": 125,
    "g": 85,
    "b": 151
  },
  "hsl": {
    "h": 276.364,
    "s": 27.966,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.10972,
    "h": 311
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#7D5597
secondary
#A0B692
accent
#C4648A
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7D5597

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

Preview Lab → · Contrast checker → · Palette generator →

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