#815784#815784

#815784 is a mid, moderate purple. Relative luminance 0.131; OKLCH L 51.9% C 0.085 H 324.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#815784
RGBrgb(129, 87, 132)
HSLhsl(296, 21%, 43%)
HSVhsv(296, 34%, 52%)
CMYKcmyk(2.3%, 34.1%, 0%, 48.2%)
CIE-LABlab(42.99, 25.37, -18.24)
CIE-LCHlch(42.99, 31.25, 324.28°)
OKLaboklab(51.86% 0.0694 -0.0496)
OKLCHoklch(51.86% 0.085 324.4)
XYZxyz(16.6259, 13.1500, 23.4877)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815784 #5A8457
analogous
#6A5784 #815784 #845770
triadic
#815784 #848157 #578481
tetradic
#815784 #846A57 #5A8457 #577084
square
#815784 #846A57 #5A8457 #577084
split-complementary
#815784 #708457 #57846A
monochromatic
#39263A #5D3F5F #815784 #A174A4 #BA99BC

Accessibility & contrast

On white

5.79
#815784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#815784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815784
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815784#FFFFFF#000000##FFFFFF
##8157841.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536286
Deuteranopia (green-blind)
#5D6782
Tritanopia (blue-blind)
#835B68
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #815784;
/* rgb */ color: rgb(129, 87, 132);
/* oklch */ color: oklch(51.9% 0.085 324.4);
Tailwind
colors: {
  custom: {
    50: '#a687a8',
    500: '#815784',
    950: '#000000',
  },
}
SCSS
$custom: #815784;
$custom-light: #a687a8;
$custom-dark: #000000;
JSON
{
  "hex": "#815784",
  "rgb": {
    "r": 129,
    "g": 87,
    "b": 132
  },
  "hsl": {
    "h": 296,
    "s": 20.548,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51863,
    "c": 0.08527,
    "h": 324.4
  },
  "luminance": 0.13149
}

Semantic roles & 50–950 ramp

primary
#815784
secondary
#8FAA8D
accent
#BD6B70
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #815784

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

Preview Lab → · Contrast checker → · Palette generator →

#815784 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva