#878298#878298

#878298 is a mid, muted violet. Relative luminance 0.234; OKLCH L 61.8% C 0.033 H 295.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#878298
RGBrgb(135, 130, 152)
HSLhsl(254, 10%, 55%)
HSVhsv(254, 14%, 60%)
CMYKcmyk(11.2%, 14.5%, 0%, 40.4%)
CIE-LABlab(55.46, 6.41, -11.08)
CIE-LCHlch(55.46, 12.80, 300.03°)
OKLaboklab(61.85% 0.0145 -0.0299)
OKLCHoklch(61.85% 0.033 295.8)
XYZxyz(23.6407, 23.3831, 32.9676)
Luminance0.2338 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878298 #939882
analogous
#828898 #878298 #928298
triadic
#878298 #988782 #829887
tetradic
#878298 #988288 #939882 #829892
square
#878298 #988288 #939882 #829892
split-complementary
#878298 #989282 #889882
monochromatic
#4C4857 #696479 #878298 #A7A4B4 #C7C5CF

Accessibility & contrast

On white

3.70
#878298 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#878298 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878298
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878298#FFFFFF#000000##000000
##8782981.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8599
Deuteranopia (green-blind)
#7E8597
Tritanopia (blue-blind)
#848589
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #878298;
/* rgb */ color: rgb(135, 130, 152);
/* oklch */ color: oklch(61.8% 0.033 295.8);
Tailwind
colors: {
  custom: {
    50: '#aaa6b6',
    500: '#878298',
    950: '#000000',
  },
}
SCSS
$custom: #878298;
$custom-light: #aaa6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#878298",
  "rgb": {
    "r": 135,
    "g": 130,
    "b": 152
  },
  "hsl": {
    "h": 253.636,
    "s": 9.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61848,
    "c": 0.03325,
    "h": 295.8
  },
  "luminance": 0.23383
}

Semantic roles & 50–950 ramp

primary
#878298
secondary
#BDBFB6
accent
#B375A5
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#100F11
muted
#7F7F80

Preview Lab

Preview with #878298

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

Preview Lab → · Contrast checker → · Palette generator →

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