#998AC5#998AC5

#998AC5 is a light, moderate violet. Relative luminance 0.290; OKLCH L 66.9% C 0.087 H 295.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#998AC5
RGBrgb(153, 138, 197)
HSLhsl(255, 34%, 66%)
HSVhsv(255, 30%, 77%)
CMYKcmyk(22.3%, 29.9%, 0%, 22.7%)
CIE-LABlab(60.76, 18.04, -28.56)
CIE-LCHlch(60.76, 33.78, 302.29°)
OKLaboklab(66.87% 0.0378 -0.0788)
OKLCHoklch(66.87% 0.087 295.6)
XYZxyz(32.3011, 28.9802, 56.7045)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998AC5 #B6C58A
analogous
#8A98C5 #998AC5 #B68AC5
triadic
#998AC5 #C5998A #8AC599
tetradic
#998AC5 #C58A98 #B6C58A #8AC5B6
square
#998AC5 #C58A98 #B6C58A #8AC5B6
split-complementary
#998AC5 #C5B68A #98C58A
monochromatic
#59468E #7561B1 #998AC5 #BDB3D9 #E0DCEE

Accessibility & contrast

On white

3.09
#998AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#998AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998AC5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998AC5#FFFFFF#000000##000000
##998AC51.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C93C7
Deuteranopia (green-blind)
#7E92C3
Tritanopia (blue-blind)
#90949F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #998ac5;
/* rgb */ color: rgb(153, 138, 197);
/* oklch */ color: oklch(66.9% 0.087 295.6);
Tailwind
colors: {
  custom: {
    50: '#b8acd6',
    500: '#998ac5',
    950: '#000000',
  },
}
SCSS
$custom: #998ac5;
$custom-light: #b8acd6;
$custom-dark: #000000;
JSON
{
  "hex": "#998ac5",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 197
  },
  "hsl": {
    "h": 255.254,
    "s": 33.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66874,
    "c": 0.08741,
    "h": 295.6
  },
  "luminance": 0.2898
}

Semantic roles & 50–950 ramp

primary
#998AC5
secondary
#DADFCC
accent
#AD398F
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #998AC5

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

Preview Lab → · Contrast checker → · Palette generator →

#998AC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva