#807899#807899

#807899 is a mid, muted violet. Relative luminance 0.203; OKLCH L 59.2% C 0.051 H 295.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#807899
RGBrgb(128, 120, 153)
HSLhsl(255, 14%, 54%)
HSVhsv(255, 22%, 60%)
CMYKcmyk(16.3%, 21.6%, 0%, 40%)
CIE-LABlab(52.20, 10.06, -16.66)
CIE-LCHlch(52.20, 19.46, 301.13°)
OKLaboklab(59.17% 0.0221 -0.0454)
OKLCHoklch(59.17% 0.051 295.9)
XYZxyz(21.3671, 20.3219, 32.9276)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807899 #919978
analogous
#788099 #807899 #907899
triadic
#807899 #998078 #789980
tetradic
#807899 #997880 #919978 #789990
square
#807899 #997880 #919978 #789990
split-complementary
#807899 #999078 #809978
monochromatic
#464156 #625B79 #807899 #A19BB3 #C2BECE

Accessibility & contrast

On white

4.15
#807899 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#807899 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807899
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807899#FFFFFF#000000##000000
##8078991.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#717D9A
Deuteranopia (green-blind)
#727C98
Tritanopia (blue-blind)
#7B7D83
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #807899;
/* rgb */ color: rgb(128, 120, 153);
/* oklch */ color: oklch(59.2% 0.051 295.9);
Tailwind
colors: {
  custom: {
    50: '#a59fb7',
    500: '#807899',
    950: '#000000',
  },
}
SCSS
$custom: #807899;
$custom-light: #a59fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#807899",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 254.545,
    "s": 13.924,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.05052,
    "h": 295.9
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#807899
secondary
#BABDAF
accent
#B771A6
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0E11
muted
#7F7E80

Preview Lab

Preview with #807899

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

Preview Lab → · Contrast checker → · Palette generator →

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