#998FFD#998FFD

#998FFD is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.6% C 0.157 H 285.8°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#998FFD
RGBrgb(153, 143, 253)
HSLhsl(245, 96%, 78%)
HSVhsv(245, 43%, 99%)
CMYKcmyk(39.5%, 43.5%, 0%, 0.8%)
CIE-LABlab(64.57, 29.53, -53.68)
CIE-LCHlch(64.57, 61.27, 298.82°)
OKLaboklab(70.62% 0.0428 -0.1515)
OKLCHoklch(70.62% 0.157 285.8)
XYZxyz(40.6840, 33.5076, 97.2335)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FFD #F3FD8F
analogous
#8FBCFD #998FFD #D08FFD
triadic
#998FFD #FD998F #8FFD99
tetradic
#998FFD #FD8FBC #F3FD8F #8FFDD0
square
#998FFD #FD8FBC #F3FD8F #8FFDD0
split-complementary
#998FFD #FDD08F #BCFD8F
monochromatic
#2B17FB #6253FC #998FFD #D0CBFE #E4E1FE

Accessibility & contrast

On white

2.73
#998FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#998FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FFD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FFD#FFFFFF#000000##000000
##998FFD1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#6599FA
Tritanopia (blue-blind)
#7CA5BA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #998ffd;
/* rgb */ color: rgb(153, 143, 253);
/* oklch */ color: oklch(70.6% 0.157 285.8);
Tailwind
colors: {
  custom: {
    50: '#bbaffe',
    500: '#998ffd',
    950: '#000000',
  },
}
SCSS
$custom: #998ffd;
$custom-light: #bbaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#998ffd",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 245.455,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7062,
    "c": 0.15746,
    "h": 285.8
  },
  "luminance": 0.33509
}

Semantic roles & 50–950 ramp

primary
#998FFD
secondary
#F4F7D4
accent
#E600D1
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #998FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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