#988EA4#988EA4

#988EA4 is a light, muted violet. Relative luminance 0.287; OKLCH L 66.3% C 0.034 H 306.0°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#988EA4
RGBrgb(152, 142, 164)
HSLhsl(267, 11%, 60%)
HSVhsv(267, 13%, 64%)
CMYKcmyk(7.3%, 13.4%, 0%, 35.7%)
CIE-LABlab(60.52, 8.03, -10.24)
CIE-LCHlch(60.52, 13.01, 308.09°)
OKLaboklab(66.27% 0.02 -0.0275)
OKLCHoklch(66.27% 0.034 306)
XYZxyz(29.3215, 28.7018, 39.1100)
Luminance0.2870 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988EA4 #9AA48E
analogous
#8E8FA4 #988EA4 #A38EA4
triadic
#988EA4 #A4988E #8EA498
tetradic
#988EA4 #A48E8F #9AA48E #8EA4A3
square
#988EA4 #A48E8F #9AA48E #8EA4A3
split-complementary
#988EA4 #A4A38E #8FA48E
monochromatic
#5B5266 #796D88 #988EA4 #B7B0BF #D6D2DB

Accessibility & contrast

On white

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

On black

6.74
#988EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988EA4
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988EA4#FFFFFF#000000##000000
##988EA41.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B92A5
Deuteranopia (green-blind)
#8C92A3
Tritanopia (blue-blind)
#969195
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #988ea4;
/* rgb */ color: rgb(152, 142, 164);
/* oklch */ color: oklch(66.3% 0.034 306.0);
Tailwind
colors: {
  custom: {
    50: '#b6afbf',
    500: '#988ea4',
    950: '#000000',
  },
}
SCSS
$custom: #988ea4;
$custom-light: #b6afbf;
$custom-dark: #000000;
JSON
{
  "hex": "#988ea4",
  "rgb": {
    "r": 152,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 267.273,
    "s": 10.784,
    "l": 60
  },
  "oklch": {
    "l": 0.66267,
    "c": 0.03403,
    "h": 306
  },
  "luminance": 0.28702
}

Semantic roles & 50–950 ramp

primary
#988EA4
secondary
#C7CBC3
accent
#B47497
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #988EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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