#7B5B85#7B5B85

#7B5B85 is a mid, moderate purple. Relative luminance 0.134; OKLCH L 52.0% C 0.075 H 318.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7B5B85
RGBrgb(123, 91, 133)
HSLhsl(286, 19%, 44%)
HSVhsv(286, 32%, 52%)
CMYKcmyk(7.5%, 31.6%, 0%, 47.8%)
CIE-LABlab(43.34, 21.12, -18.37)
CIE-LCHlch(43.34, 27.99, 318.98°)
OKLaboklab(51.99% 0.0556 -0.0501)
OKLCHoklch(51.99% 0.075 318)
XYZxyz(16.1425, 13.3869, 23.9193)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5B85 #65855B
analogous
#665B85 #7B5B85 #855B7A
triadic
#7B5B85 #857B5B #5B857B
tetradic
#7B5B85 #85665B #65855B #5B7A85
square
#7B5B85 #85665B #65855B #5B7A85
split-complementary
#7B5B85 #7A855B #5B8566
monochromatic
#38293C #594261 #7B5B85 #9A7AA4 #B59EBD

Accessibility & contrast

On white

5.71
#7B5B85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7B5B85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5B85
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5B85#FFFFFF#000000##FFFFFF
##7B5B851.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566487
Deuteranopia (green-blind)
#5D6784
Tritanopia (blue-blind)
#7B606A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b5b85;
/* rgb */ color: rgb(123, 91, 133);
/* oklch */ color: oklch(52.0% 0.075 318.0);
Tailwind
colors: {
  custom: {
    50: '#a18aa8',
    500: '#7b5b85',
    950: '#000000',
  },
}
SCSS
$custom: #7b5b85;
$custom-light: #a18aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5b85",
  "rgb": {
    "r": 123,
    "g": 91,
    "b": 133
  },
  "hsl": {
    "h": 285.714,
    "s": 18.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5199,
    "c": 0.07483,
    "h": 318
  },
  "luminance": 0.13387
}

Semantic roles & 50–950 ramp

primary
#7B5B85
secondary
#97AB91
accent
#BB6C7F
background
#FAF8FA
surface
#F3F0F4
border
#CDCBCE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #7B5B85

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

Preview Lab → · Contrast checker → · Palette generator →

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