#7B588C#7B588C

#7B588C is a mid, moderate purple. Relative luminance 0.131; OKLCH L 51.7% C 0.089 H 314.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7B588C
RGBrgb(123, 88, 140)
HSLhsl(280, 23%, 45%)
HSVhsv(280, 37%, 55%)
CMYKcmyk(12.1%, 37.1%, 0%, 45.1%)
CIE-LABlab(42.89, 24.47, -23.29)
CIE-LCHlch(42.89, 33.78, 316.42°)
OKLaboklab(51.75% 0.0623 -0.064)
OKLCHoklch(51.75% 0.089 314.2)
XYZxyz(16.3910, 13.0842, 26.4679)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B588C #698C58
analogous
#61588C #7B588C #8C5883
triadic
#7B588C #8C7B58 #588C7B
tetradic
#7B588C #8C6158 #698C58 #58838C
square
#7B588C #8C6158 #698C58 #58838C
split-complementary
#7B588C #838C58 #588C61
monochromatic
#392941 #5A4066 #7B588C #9977AA #B69DC1

Accessibility & contrast

On white

5.81
#7B588C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B588C
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B588C#FFFFFF#000000##FFFFFF
##7B588C1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F638E
Deuteranopia (green-blind)
#58668A
Tritanopia (blue-blind)
#7A5F6B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b588c;
/* rgb */ color: rgb(123, 88, 140);
/* oklch */ color: oklch(51.7% 0.089 314.2);
Tailwind
colors: {
  custom: {
    50: '#a287ad',
    500: '#7b588c',
    950: '#000000',
  },
}
SCSS
$custom: #7b588c;
$custom-light: #a287ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7b588c",
  "rgb": {
    "r": 123,
    "g": 88,
    "b": 140
  },
  "hsl": {
    "h": 280.385,
    "s": 22.807,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.08935,
    "h": 314.2
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#7B588C
secondary
#9BAF91
accent
#BF6885
background
#FAF8FA
surface
#F3EFF4
border
#CDCACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7B588C

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

Preview Lab → · Contrast checker → · Palette generator →

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