#815D99#815D99

#815D99 is a mid, moderate violet. Relative luminance 0.148; OKLCH L 54.0% C 0.099 H 310.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#815D99
RGBrgb(129, 93, 153)
HSLhsl(276, 24%, 48%)
HSVhsv(276, 39%, 60%)
CMYKcmyk(15.7%, 39.2%, 0%, 40%)
CIE-LABlab(45.35, 26.44, -27.19)
CIE-LCHlch(45.35, 37.92, 314.19°)
OKLaboklab(53.95% 0.0651 -0.0751)
OKLCHoklch(53.95% 0.099 310.9)
XYZxyz(18.7164, 14.7960, 32.0008)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815D99 #75995D
analogous
#635D99 #815D99 #995D93
triadic
#815D99 #99815D #5D9981
tetradic
#815D99 #99635D #75995D #5D9399
square
#815D99 #99635D #75995D #5D9399
split-complementary
#815D99 #93995D #5D9963
monochromatic
#412F4D #614673 #815D99 #9F81B2 #BCA7C9

Accessibility & contrast

On white

5.30
#815D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#815D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815D99
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815D99#FFFFFF#000000##FFFFFF
##815D991.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9B
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#7E6674
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #815d99;
/* rgb */ color: rgb(129, 93, 153);
/* oklch */ color: oklch(54.0% 0.099 310.9);
Tailwind
colors: {
  custom: {
    50: '#a68bb7',
    500: '#815d99',
    950: '#000000',
  },
}
SCSS
$custom: #815d99;
$custom-light: #a68bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#815d99",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 153
  },
  "hsl": {
    "h": 276,
    "s": 24.39,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.09943,
    "h": 310.9
  },
  "luminance": 0.14796
}

Semantic roles & 50–950 ramp

primary
#815D99
secondary
#A6B89A
accent
#C1678B
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#0F0C11
muted
#7F7D80

Preview Lab

Preview with #815D99

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

Preview Lab → · Contrast checker → · Palette generator →

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