#998CDF#998CDF

#998CDF is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.5% C 0.121 H 290.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#998CDF
RGBrgb(153, 140, 223)
HSLhsl(249, 56%, 71%)
HSVhsv(249, 37%, 87%)
CMYKcmyk(31.4%, 37.2%, 0%, 12.5%)
CIE-LABlab(62.39, 23.33, -40.59)
CIE-LCHlch(62.39, 46.81, 299.89°)
OKLaboklab(68.48% 0.0413 -0.1134)
OKLCHoklch(68.48% 0.121 290)
XYZxyz(35.8308, 30.8554, 73.8656)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998CDF #D2DF8C
analogous
#8CA8DF #998CDF #C28CDF
triadic
#998CDF #DF998C #8CDF99
tetradic
#998CDF #DF8CA8 #D2DF8C #8CDFC2
square
#998CDF #DF8CA8 #D2DF8C #8CDFC2
split-complementary
#998CDF #DFC28C #A8DF8C
monochromatic
#4A34BC #6F5CD2 #998CDF #C3BCEC #EAE7F8

Accessibility & contrast

On white

2.93
#998CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#998CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998CDF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998CDF#FFFFFF#000000##000000
##998CDF1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E2
Deuteranopia (green-blind)
#7495DD
Tritanopia (blue-blind)
#889BAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #998cdf;
/* rgb */ color: rgb(153, 140, 223);
/* oklch */ color: oklch(68.5% 0.121 290.0);
Tailwind
colors: {
  custom: {
    50: '#b9ade9',
    500: '#998cdf',
    950: '#000000',
  },
}
SCSS
$custom: #998cdf;
$custom-light: #b9ade9;
$custom-dark: #000000;
JSON
{
  "hex": "#998cdf",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 223
  },
  "hsl": {
    "h": 249.398,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68484,
    "c": 0.12071,
    "h": 290
  },
  "luminance": 0.30856
}

Semantic roles & 50–950 ramp

primary
#998CDF
secondary
#EBEED8
accent
#C421AB
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #998CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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