#988EA2#988EA2

#988EA2 is a light, muted violet. Relative luminance 0.286; OKLCH L 66.2% C 0.031 H 307.9°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#988EA2
RGBrgb(152, 142, 162)
HSLhsl(270, 10%, 60%)
HSVhsv(270, 12%, 64%)
CMYKcmyk(6.2%, 12.3%, 0%, 36.5%)
CIE-LABlab(60.45, 7.61, -9.20)
CIE-LCHlch(60.45, 11.94, 309.61°)
OKLaboklab(66.2% 0.0192 -0.0247)
OKLCHoklch(66.2% 0.031 307.9)
XYZxyz(29.1423, 28.6301, 38.1663)
Luminance0.2863 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988EA2 #98A28E
analogous
#8E8EA2 #988EA2 #A28EA2
triadic
#988EA2 #A2988E #8EA298
tetradic
#988EA2 #A28E8E #98A28E #8EA2A2
square
#988EA2 #A28E8E #98A28E #8EA2A2
split-complementary
#988EA2 #A2A28E #8EA28E
monochromatic
#5B5264 #796E85 #988EA2 #B7B0BE #D5D1D9

Accessibility & contrast

On white

3.12
#988EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#988EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988EA2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988EA2#FFFFFF#000000##000000
##988EA21.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B91A3
Deuteranopia (green-blind)
#8D92A1
Tritanopia (blue-blind)
#979094
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #988ea2;
/* rgb */ color: rgb(152, 142, 162);
/* oklch */ color: oklch(66.2% 0.031 307.9);
Tailwind
colors: {
  custom: {
    50: '#b6afbd',
    500: '#988ea2',
    950: '#000000',
  },
}
SCSS
$custom: #988ea2;
$custom-light: #b6afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#988ea2",
  "rgb": {
    "r": 152,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 270,
    "s": 9.709,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66196,
    "c": 0.0313,
    "h": 307.9
  },
  "luminance": 0.2863
}

Semantic roles & 50–950 ramp

primary
#988EA2
secondary
#C6CAC2
accent
#B37594
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #988EA2

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

Preview Lab → · Contrast checker → · Palette generator →

#988EA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva