#815F8D#815F8D

#815F8D is a mid, moderate purple. Relative luminance 0.148; OKLCH L 53.8% C 0.081 H 317.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#815F8D
RGBrgb(129, 95, 141)
HSLhsl(284, 19%, 46%)
HSVhsv(284, 33%, 55%)
CMYKcmyk(8.5%, 32.6%, 0%, 44.7%)
CIE-LABlab(45.32, 22.55, -20.07)
CIE-LCHlch(45.32, 30.19, 318.32°)
OKLaboklab(53.76% 0.0589 -0.0548)
OKLCHoklch(53.76% 0.081 317.1)
XYZxyz(17.9525, 14.7750, 27.1003)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815F8D #6B8D5F
analogous
#6A5F8D #815F8D #8D5F82
triadic
#815F8D #8D815F #5F8D81
tetradic
#815F8D #8D6A5F #6B8D5F #5F828D
square
#815F8D #8D6A5F #6B8D5F #5F828D
split-complementary
#815F8D #828D5F #5F8D6A
monochromatic
#3E2E44 #604668 #815F8D #9F80A9 #BAA4C2

Accessibility & contrast

On white

5.31
#815F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#815F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815F8D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815F8D#FFFFFF#000000##FFFFFF
##815F8D1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59698F
Deuteranopia (green-blind)
#616C8C
Tritanopia (blue-blind)
#816470
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #815f8d;
/* rgb */ color: rgb(129, 95, 141);
/* oklch */ color: oklch(53.8% 0.081 317.1);
Tailwind
colors: {
  custom: {
    50: '#a68dae',
    500: '#815f8d',
    950: '#000000',
  },
}
SCSS
$custom: #815f8d;
$custom-light: #a68dae;
$custom-dark: #000000;
JSON
{
  "hex": "#815f8d",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 284.348,
    "s": 19.492,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53759,
    "c": 0.08051,
    "h": 317.1
  },
  "luminance": 0.14775
}

Semantic roles & 50–950 ramp

primary
#815F8D
secondary
#9EB097
accent
#BC6C81
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C10
muted
#7F7D7F

Preview Lab

Preview with #815F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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