#81507B#81507B

#81507B is a mid, moderate purple. Relative luminance 0.118; OKLCH L 50.2% C 0.089 H 331.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#81507B
RGBrgb(129, 80, 123)
HSLhsl(307, 23%, 41%)
HSVhsv(307, 38%, 51%)
CMYKcmyk(0%, 38%, 4.7%, 49.4%)
CIE-LABlab(40.95, 27.67, -15.88)
CIE-LCHlch(40.95, 31.90, 330.15°)
OKLaboklab(50.2% 0.0783 -0.0429)
OKLCHoklch(50.2% 0.089 331.3)
XYZxyz(15.4969, 11.8352, 20.2032)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81507B #508156
analogous
#6E5081 #81507B #815062
triadic
#81507B #7B8150 #507B81
tetradic
#81507B #816E50 #508156 #506281
square
#81507B #816E50 #508156 #506281
split-complementary
#81507B #628150 #50816E
monochromatic
#352133 #5B3957 #81507B #A36B9C #BB91B6

Accessibility & contrast

On white

6.24
#81507B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#81507B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #81507B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81507B#FFFFFF#000000##FFFFFF
##81507B1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7D
Deuteranopia (green-blind)
#5B6379
Tritanopia (blue-blind)
#855360
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #81507b;
/* rgb */ color: rgb(129, 80, 123);
/* oklch */ color: oklch(50.2% 0.089 331.3);
Tailwind
colors: {
  custom: {
    50: '#a682a1',
    500: '#81507b',
    950: '#000000',
  },
}
SCSS
$custom: #81507b;
$custom-light: #a682a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81507b",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 307.347,
    "s": 23.445,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.08926,
    "h": 331.3
  },
  "luminance": 0.11835
}

Semantic roles & 50–950 ramp

primary
#81507B
secondary
#85A889
accent
#C07368
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0A0F
muted
#7F7C7E

Preview Lab

Preview with #81507B

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

Preview Lab → · Contrast checker → · Palette generator →

#81507B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva