#815782#815782

#815782 is a mid, moderate purple. Relative luminance 0.131; OKLCH L 51.8% C 0.083 H 325.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#815782
RGBrgb(129, 87, 130)
HSLhsl(299, 20%, 43%)
HSVhsv(299, 33%, 51%)
CMYKcmyk(0.8%, 33.1%, 0%, 49%)
CIE-LABlab(42.91, 24.96, -17.16)
CIE-LCHlch(42.91, 30.29, 325.50°)
OKLaboklab(51.78% 0.0688 -0.0465)
OKLCHoklch(51.78% 0.083 325.9)
XYZxyz(16.4903, 13.0958, 22.7739)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815782 #588257
analogous
#6C5782 #815782 #82576D
triadic
#815782 #828157 #578281
tetradic
#815782 #826C57 #588257 #576D82
square
#815782 #826C57 #588257 #576D82
split-complementary
#815782 #6D8257 #57826C
monochromatic
#382639 #5D3E5D #815782 #A174A2 #BA99BB

Accessibility & contrast

On white

5.80
#815782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#815782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815782
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815782#FFFFFF#000000##FFFFFF
##8157821.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546284
Deuteranopia (green-blind)
#5E6781
Tritanopia (blue-blind)
#835B67
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #815782;
/* rgb */ color: rgb(129, 87, 130);
/* oklch */ color: oklch(51.8% 0.083 325.9);
Tailwind
colors: {
  custom: {
    50: '#a687a6',
    500: '#815782',
    950: '#000000',
  },
}
SCSS
$custom: #815782;
$custom-light: #a687a6;
$custom-dark: #000000;
JSON
{
  "hex": "#815782",
  "rgb": {
    "r": 129,
    "g": 87,
    "b": 130
  },
  "hsl": {
    "h": 298.605,
    "s": 19.816,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.08304,
    "h": 325.9
  },
  "luminance": 0.13095
}

Semantic roles & 50–950 ramp

primary
#815782
secondary
#8DA88C
accent
#BC6B6D
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #815782

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

Preview Lab → · Contrast checker → · Palette generator →

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