#998CFB#998CFB

#998CFB is a light, vivid blue. Relative luminance 0.325; OKLCH L 70.0% C 0.159 H 286.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#998CFB
RGBrgb(153, 140, 251)
HSLhsl(247, 93%, 77%)
HSVhsv(247, 44%, 98%)
CMYKcmyk(39%, 44.2%, 0%, 1.6%)
CIE-LABlab(63.75, 30.71, -53.89)
CIE-LCHlch(63.75, 62.03, 299.68°)
OKLaboklab(69.96% 0.0462 -0.1521)
OKLCHoklch(69.96% 0.159 286.9)
XYZxyz(39.9227, 32.4922, 95.4162)
Luminance0.3249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998CFB #EEFB8C
analogous
#8CB7FB #998CFB #D18CFB
triadic
#998CFB #FB998C #8CFB99
tetradic
#998CFB #FB8CB7 #EEFB8C #8CFBD1
square
#998CFB #FB8CB7 #EEFB8C #8CFBD1
split-complementary
#998CFB #FBD18C #B7FB8C
monochromatic
#3016F7 #6551F9 #998CFB #CDC7FD #E5E1FE

Accessibility & contrast

On white

2.80
#998CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#998CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998CFB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998CFB#FFFFFF#000000##000000
##998CFB1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#6297F8
Tritanopia (blue-blind)
#7EA2B7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #998cfb;
/* rgb */ color: rgb(153, 140, 251);
/* oklch */ color: oklch(70.0% 0.159 286.9);
Tailwind
colors: {
  custom: {
    50: '#bbadfd',
    500: '#998cfb',
    950: '#000000',
  },
}
SCSS
$custom: #998cfb;
$custom-light: #bbadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#998cfb",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 247.027,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.69964,
    "c": 0.15902,
    "h": 286.9
  },
  "luminance": 0.32494
}

Semantic roles & 50–950 ramp

primary
#998CFB
secondary
#F2F6D5
accent
#E600CB
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #998CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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