#815E8D#815E8D

#815E8D is a mid, moderate purple. Relative luminance 0.146; OKLCH L 53.6% C 0.082 H 317.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#815E8D
RGBrgb(129, 94, 141)
HSLhsl(285, 20%, 46%)
HSVhsv(285, 33%, 55%)
CMYKcmyk(8.5%, 33.3%, 0%, 44.7%)
CIE-LABlab(45.08, 23.14, -20.46)
CIE-LCHlch(45.08, 30.89, 318.53°)
OKLaboklab(53.57% 0.0605 -0.0559)
OKLCHoklch(53.57% 0.082 317.3)
XYZxyz(17.8630, 14.5960, 27.0705)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815E8D #6A8D5E
analogous
#695E8D #815E8D #8D5E81
triadic
#815E8D #8D815E #5E8D81
tetradic
#815E8D #8D695E #6A8D5E #5E818D
square
#815E8D #8D695E #6A8D5E #5E818D
split-complementary
#815E8D #818D5E #5E8D69
monochromatic
#3E2D44 #5F4668 #815E8D #9F7FA9 #BAA3C2

Accessibility & contrast

On white

5.36
#815E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#815E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815E8D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815E8D#FFFFFF#000000##FFFFFF
##815E8D1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58688F
Deuteranopia (green-blind)
#606C8C
Tritanopia (blue-blind)
#81646F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #815e8d;
/* rgb */ color: rgb(129, 94, 141);
/* oklch */ color: oklch(53.6% 0.082 317.3);
Tailwind
colors: {
  custom: {
    50: '#a68cae',
    500: '#815e8d',
    950: '#000000',
  },
}
SCSS
$custom: #815e8d;
$custom-light: #a68cae;
$custom-dark: #000000;
JSON
{
  "hex": "#815e8d",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 141
  },
  "hsl": {
    "h": 284.681,
    "s": 20,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.08241,
    "h": 317.3
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#815E8D
secondary
#9DB097
accent
#BD6B80
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C10
muted
#7F7D7F

Preview Lab

Preview with #815E8D

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

Preview Lab → · Contrast checker → · Palette generator →

#815E8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva