#998BC5#998BC5

#998BC5 is a light, moderate violet. Relative luminance 0.293; OKLCH L 67.1% C 0.086 H 295.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#998BC5
RGBrgb(153, 139, 197)
HSLhsl(254, 33%, 66%)
HSVhsv(254, 29%, 77%)
CMYKcmyk(22.3%, 29.4%, 0%, 22.7%)
CIE-LABlab(61.02, 17.47, -28.17)
CIE-LCHlch(61.02, 33.14, 301.81°)
OKLaboklab(67.07% 0.0363 -0.0777)
OKLCHoklch(67.07% 0.086 295.1)
XYZxyz(32.4452, 29.2685, 56.7525)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BC5 #B7C58B
analogous
#8B9AC5 #998BC5 #B68BC5
triadic
#998BC5 #C5998B #8BC599
tetradic
#998BC5 #C58B9A #B7C58B #8BC5B6
square
#998BC5 #C58B9A #B7C58B #8BC5B6
split-complementary
#998BC5 #C5B68B #9AC58B
monochromatic
#58478E #7562B1 #998BC5 #BDB4D9 #E1DDEE

Accessibility & contrast

On white

3.06
#998BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#998BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998BC5
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BC5#FFFFFF#000000##000000
##998BC51.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D94C7
Deuteranopia (green-blind)
#7F92C3
Tritanopia (blue-blind)
#9094A0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #998bc5;
/* rgb */ color: rgb(153, 139, 197);
/* oklch */ color: oklch(67.1% 0.086 295.1);
Tailwind
colors: {
  custom: {
    50: '#b8add6',
    500: '#998bc5',
    950: '#000000',
  },
}
SCSS
$custom: #998bc5;
$custom-light: #b8add6;
$custom-dark: #000000;
JSON
{
  "hex": "#998bc5",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 197
  },
  "hsl": {
    "h": 254.483,
    "s": 33.333,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67069,
    "c": 0.08578,
    "h": 295.1
  },
  "luminance": 0.29269
}

Semantic roles & 50–950 ramp

primary
#998BC5
secondary
#DBDFCC
accent
#AC3990
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #998BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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