#807898#807898

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

Color values

HEX#807898
RGBrgb(128, 120, 152)
HSLhsl(255, 13%, 53%)
HSVhsv(255, 21%, 60%)
CMYKcmyk(15.8%, 21.1%, 0%, 40.4%)
CIE-LABlab(52.16, 9.83, -16.13)
CIE-LCHlch(52.16, 18.89, 301.35°)
OKLaboklab(59.13% 0.0217 -0.044)
OKLCHoklch(59.13% 0.049 296.3)
XYZxyz(21.2849, 20.2890, 32.4945)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807898 #909878
analogous
#788098 #807898 #907898
triadic
#807898 #988078 #789880
tetradic
#807898 #987880 #909878 #789890
square
#807898 #987880 #909878 #789890
split-complementary
#807898 #989078 #809878
monochromatic
#464155 #625B78 #807898 #A19BB2 #C1BDCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807898#FFFFFF#000000##000000
##8078981.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)
#717D99
Deuteranopia (green-blind)
#727C97
Tritanopia (blue-blind)
#7C7D83
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #807898;
/* rgb */ color: rgb(128, 120, 152);
/* oklch */ color: oklch(59.1% 0.049 296.3);
Tailwind
colors: {
  custom: {
    50: '#a59fb6',
    500: '#807898',
    950: '#000000',
  },
}
SCSS
$custom: #807898;
$custom-light: #a59fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#807898",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 152
  },
  "hsl": {
    "h": 255,
    "s": 13.445,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59134,
    "c": 0.04904,
    "h": 296.3
  },
  "luminance": 0.20289
}

Semantic roles & 50–950 ramp

primary
#807898
secondary
#B9BDAF
accent
#B672A5
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0E11
muted
#7F7E80

Preview Lab

Preview with #807898

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

Preview Lab → · Contrast checker → · Palette generator →

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