#7B4E89#7B4E89

#7B4E89 is a mid, moderate purple. Relative luminance 0.115; OKLCH L 49.8% C 0.104 H 317.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7B4E89
RGBrgb(123, 78, 137)
HSLhsl(286, 27%, 42%)
HSVhsv(286, 43%, 54%)
CMYKcmyk(10.2%, 43.1%, 0%, 46.3%)
CIE-LABlab(40.35, 29.72, -25.41)
CIE-LCHlch(40.35, 39.10, 319.47°)
OKLaboklab(49.79% 0.0774 -0.07)
OKLCHoklch(49.79% 0.104 317.9)
XYZxyz(15.4075, 11.4663, 25.0637)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4E89 #5C894E
analogous
#5E4E89 #7B4E89 #894E7A
triadic
#7B4E89 #897B4E #4E897B
tetradic
#7B4E89 #895E4E #5C894E #4E7A89
square
#7B4E89 #895E4E #5C894E #4E7A89
split-complementary
#7B4E89 #7A894E #4E895E
monochromatic
#35223B #583862 #7B4E89 #9B6AAA #B591C0

Accessibility & contrast

On white

6.38
#7B4E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7B4E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4E89
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4E89#FFFFFF#000000##FFFFFF
##7B4E891.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8B
Deuteranopia (green-blind)
#516187
Tritanopia (blue-blind)
#7B5665
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b4e89;
/* rgb */ color: rgb(123, 78, 137);
/* oklch */ color: oklch(49.8% 0.104 317.9);
Tailwind
colors: {
  custom: {
    50: '#a280ab',
    500: '#7b4e89',
    950: '#000000',
  },
}
SCSS
$custom: #7b4e89;
$custom-light: #a280ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4e89",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 285.763,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.10441,
    "h": 317.9
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

primary
#7B4E89
secondary
#8FAD86
accent
#C4647B
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7B4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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