#998FDF#998FDF

#998FDF is a light, moderate blue. Relative luminance 0.317; OKLCH L 69.1% C 0.116 H 288.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#998FDF
RGBrgb(153, 143, 223)
HSLhsl(248, 56%, 72%)
HSVhsv(248, 36%, 87%)
CMYKcmyk(31.4%, 35.9%, 0%, 12.5%)
CIE-LABlab(63.13, 21.60, -39.42)
CIE-LCHlch(63.13, 44.95, 298.72°)
OKLaboklab(69.05% 0.0373 -0.11)
OKLCHoklch(69.05% 0.116 288.7)
XYZxyz(36.2751, 31.7441, 74.0137)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FDF #D5DF8F
analogous
#8FADDF #998FDF #C18FDF
triadic
#998FDF #DF998F #8FDF99
tetradic
#998FDF #DF8FAD #D5DF8F #8FDFC1
square
#998FDF #DF8FAD #D5DF8F #8FDFC1
split-complementary
#998FDF #DFC18F #ADDF8F
monochromatic
#4736BD #6E5FD1 #998FDF #C4BFED #E9E7F8

Accessibility & contrast

On white

2.86
#998FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#998FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FDF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FDF#FFFFFF#000000##000000
##998FDF1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#789BE2
Deuteranopia (green-blind)
#7797DD
Tritanopia (blue-blind)
#889EAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #998fdf;
/* rgb */ color: rgb(153, 143, 223);
/* oklch */ color: oklch(69.1% 0.116 288.7);
Tailwind
colors: {
  custom: {
    50: '#b9afe9',
    500: '#998fdf',
    950: '#000000',
  },
}
SCSS
$custom: #998fdf;
$custom-light: #b9afe9;
$custom-dark: #000000;
JSON
{
  "hex": "#998fdf",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 223
  },
  "hsl": {
    "h": 247.5,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69054,
    "c": 0.11617,
    "h": 288.7
  },
  "luminance": 0.31745
}

Semantic roles & 50–950 ramp

primary
#998FDF
secondary
#EDEFDB
accent
#C322AF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #998FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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