#998CDC#998CDC

#998CDC is a light, moderate blue. Relative luminance 0.307; OKLCH L 68.3% C 0.117 H 290.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#998CDC
RGBrgb(153, 140, 220)
HSLhsl(250, 53%, 71%)
HSVhsv(250, 36%, 86%)
CMYKcmyk(30.5%, 36.4%, 0%, 13.7%)
CIE-LABlab(62.25, 22.56, -39.13)
CIE-LCHlch(62.25, 45.17, 299.97°)
OKLaboklab(68.34% 0.0407 -0.1092)
OKLCHoklch(68.34% 0.117 290.4)
XYZxyz(35.4299, 30.6951, 71.7543)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998CDC #CFDC8C
analogous
#8CA7DC #998CDC #C18CDC
triadic
#998CDC #DC998C #8CDC99
tetradic
#998CDC #DC8CA7 #CFDC8C #8CDCC1
square
#998CDC #DC8CA7 #CFDC8C #8CDCC1
split-complementary
#998CDC #DCC18C #A7DC8C
monochromatic
#4C37B6 #6F5DCE #998CDC #C3BBEA #EAE8F8

Accessibility & contrast

On white

2.94
#998CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#998CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998CDC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998CDC#FFFFFF#000000##000000
##998CDC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#7695DA
Tritanopia (blue-blind)
#899AAA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #998cdc;
/* rgb */ color: rgb(153, 140, 220);
/* oklch */ color: oklch(68.3% 0.117 290.4);
Tailwind
colors: {
  custom: {
    50: '#b9ade7',
    500: '#998cdc',
    950: '#000000',
  },
}
SCSS
$custom: #998cdc;
$custom-light: #b9ade7;
$custom-dark: #000000;
JSON
{
  "hex": "#998cdc",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 249.75,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68335,
    "c": 0.11652,
    "h": 290.4
  },
  "luminance": 0.30696
}

Semantic roles & 50–950 ramp

primary
#998CDC
secondary
#E9EDD7
accent
#C125A7
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #998CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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