#7B507B#7B507B

#7B507B is a mid, moderate purple. Relative luminance 0.114; OKLCH L 49.5% C 0.085 H 326.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7B507B
RGBrgb(123, 80, 123)
HSLhsl(300, 21%, 40%)
HSVhsv(300, 35%, 48%)
CMYKcmyk(0%, 35%, 0%, 51.8%)
CIE-LABlab(40.21, 25.56, -17.08)
CIE-LCHlch(40.21, 30.74, 326.25°)
OKLaboklab(49.48% 0.0707 -0.0464)
OKLCHoklch(49.48% 0.085 326.8)
XYZxyz(14.6119, 11.3789, 20.1617)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B507B #507B50
analogous
#66507B #7B507B #7B5066
triadic
#7B507B #7B7B50 #507B7B
tetradic
#7B507B #7B6650 #507B50 #50667B
square
#7B507B #7B6650 #507B50 #50667B
split-complementary
#7B507B #667B50 #507B66
monochromatic
#312031 #563856 #7B507B #9E6A9E #B68FB6

Accessibility & contrast

On white

6.41
#7B507B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7B507B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B507B
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B507B#FFFFFF#000000##FFFFFF
##7B507B1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7D
Deuteranopia (green-blind)
#58617A
Tritanopia (blue-blind)
#7E5460
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b507b;
/* rgb */ color: rgb(123, 80, 123);
/* oklch */ color: oklch(49.5% 0.085 326.8);
Tailwind
colors: {
  custom: {
    50: '#a282a1',
    500: '#7b507b',
    950: '#000000',
  },
}
SCSS
$custom: #7b507b;
$custom-light: #a282a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b507b",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 300,
    "s": 21.182,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49479,
    "c": 0.08459,
    "h": 326.8
  },
  "luminance": 0.11378
}

Semantic roles & 50–950 ramp

primary
#7B507B
secondary
#83A383
accent
#BE6A6A
background
#FAF8F9
surface
#F3EFF2
border
#CDCACC
text
#0F0A0F
muted
#7F7C7E

Preview Lab

Preview with #7B507B

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

Preview Lab → · Contrast checker → · Palette generator →

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