#847898#847898

#847898 is a mid, muted violet. Relative luminance 0.206; OKLCH L 59.5% C 0.050 H 302.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#847898
RGBrgb(132, 120, 152)
HSLhsl(263, 13%, 53%)
HSVhsv(263, 21%, 60%)
CMYKcmyk(13.2%, 21.1%, 0%, 40.4%)
CIE-LABlab(52.52, 11.20, -15.56)
CIE-LCHlch(52.52, 19.17, 305.74°)
OKLaboklab(59.49% 0.0265 -0.0423)
OKLCHoklch(59.49% 0.05 302)
XYZxyz(21.8986, 20.6055, 32.5233)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847898 #8C9878
analogous
#787C98 #847898 #947898
triadic
#847898 #988478 #789884
tetradic
#847898 #98787C #8C9878 #789894
square
#847898 #98787C #8C9878 #789894
split-complementary
#847898 #989478 #7C9878
monochromatic
#484155 #665B78 #847898 #A49BB2 #C3BDCD

Accessibility & contrast

On white

4.10
#847898 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#847898 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847898
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847898#FFFFFF#000000##000000
##8478981.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D99
Deuteranopia (green-blind)
#747D97
Tritanopia (blue-blind)
#817C83
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #847898;
/* rgb */ color: rgb(132, 120, 152);
/* oklch */ color: oklch(59.5% 0.050 302.0);
Tailwind
colors: {
  custom: {
    50: '#a89fb6',
    500: '#847898',
    950: '#000000',
  },
}
SCSS
$custom: #847898;
$custom-light: #a89fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#847898",
  "rgb": {
    "r": 132,
    "g": 120,
    "b": 152
  },
  "hsl": {
    "h": 262.5,
    "s": 13.445,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59492,
    "c": 0.0499,
    "h": 302
  },
  "luminance": 0.20605
}

Semantic roles & 50–950 ramp

primary
#847898
secondary
#B8BDAF
accent
#B6729C
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0E11
muted
#7F7E80

Preview Lab

Preview with #847898

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

Preview Lab → · Contrast checker → · Palette generator →

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