#7B507A#7B507A

#7B507A is a mid, moderate purple. Relative luminance 0.114; OKLCH L 49.4% C 0.084 H 327.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7B507A
RGBrgb(123, 80, 122)
HSLhsl(301, 21%, 40%)
HSVhsv(301, 35%, 48%)
CMYKcmyk(0%, 35%, 0.8%, 51.8%)
CIE-LABlab(40.17, 25.36, -16.53)
CIE-LCHlch(40.17, 30.27, 326.90°)
OKLaboklab(49.43% 0.0705 -0.0448)
OKLCHoklch(49.43% 0.084 327.5)
XYZxyz(14.5496, 11.3540, 19.8337)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B507A #507B51
analogous
#66507B #7B507A #7B5065
triadic
#7B507A #7A7B50 #507A7B
tetradic
#7B507A #7B6650 #507B51 #50657B
square
#7B507A #7B6650 #507B51 #50657B
split-complementary
#7B507A #657B50 #507B66
monochromatic
#312030 #563855 #7B507A #9E6A9D #B68FB5

Accessibility & contrast

On white

6.42
#7B507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7B507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B507A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B507A#FFFFFF#000000##FFFFFF
##7B507A1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7C
Deuteranopia (green-blind)
#586179
Tritanopia (blue-blind)
#7E545F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b507a;
/* rgb */ color: rgb(123, 80, 122);
/* oklch */ color: oklch(49.4% 0.084 327.5);
Tailwind
colors: {
  custom: {
    50: '#a282a0',
    500: '#7b507a',
    950: '#000000',
  },
}
SCSS
$custom: #7b507a;
$custom-light: #a282a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b507a",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 301.395,
    "s": 21.182,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49434,
    "c": 0.08351,
    "h": 327.5
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#7B507A
secondary
#83A384
accent
#BE6C6A
background
#FAF8F9
surface
#F3EFF2
border
#CDCACC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7B507A

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

Preview Lab → · Contrast checker → · Palette generator →

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