#7B507C#7B507C

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

Color values

HEX#7B507C
RGBrgb(123, 80, 124)
HSLhsl(299, 22%, 40%)
HSVhsv(299, 35%, 49%)
CMYKcmyk(0.8%, 35.5%, 0%, 51.4%)
CIE-LABlab(40.25, 25.77, -17.63)
CIE-LCHlch(40.25, 31.22, 325.62°)
OKLaboklab(49.52% 0.071 -0.0479)
OKLCHoklch(49.52% 0.086 326)
XYZxyz(14.6748, 11.4041, 20.4931)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B507C #517C50
analogous
#65507C #7B507C #7C5067
triadic
#7B507C #7C7B50 #507C7B
tetradic
#7B507C #7C6550 #517C50 #50677C
square
#7B507C #7C6550 #517C50 #50677C
split-complementary
#7B507C #677C50 #507C65
monochromatic
#312032 #563857 #7B507C #9E6A9F #B68FB7

Accessibility & contrast

On white

6.40
#7B507C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B507C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B507C#FFFFFF#000000##FFFFFF
##7B507C1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7E
Deuteranopia (green-blind)
#57617B
Tritanopia (blue-blind)
#7D5460
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b507c;
/* rgb */ color: rgb(123, 80, 124);
/* oklch */ color: oklch(49.5% 0.086 326.0);
Tailwind
colors: {
  custom: {
    50: '#a282a2',
    500: '#7b507c',
    950: '#000000',
  },
}
SCSS
$custom: #7b507c;
$custom-light: #a282a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b507c",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 298.636,
    "s": 21.569,
    "l": 40
  },
  "oklch": {
    "l": 0.49523,
    "c": 0.08568,
    "h": 326
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#7B507C
secondary
#84A484
accent
#BE6A6C
background
#FAF8F9
surface
#F3EFF2
border
#CDCACC
text
#0F0A0F
muted
#7F7C7E

Preview Lab

Preview with #7B507C

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

Preview Lab → · Contrast checker → · Palette generator →

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