#998BEC#998BEC

#998BEC is a light, vivid blue. Relative luminance 0.313; OKLCH L 69.0% C 0.140 H 288.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#998BEC
RGBrgb(153, 139, 236)
HSLhsl(249, 72%, 74%)
HSVhsv(249, 41%, 93%)
CMYKcmyk(35.2%, 41.1%, 0%, 7.5%)
CIE-LABlab(62.75, 27.28, -47.21)
CIE-LCHlch(62.75, 54.53, 300.02°)
OKLaboklab(68.97% 0.0452 -0.1327)
OKLCHoklch(68.97% 0.14 288.8)
XYZxyz(37.5057, 31.2927, 83.4046)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BEC #DEEC8B
analogous
#8BADEC #998BEC #C98BEC
triadic
#998BEC #EC998B #8BEC99
tetradic
#998BEC #EC8BAD #DEEC8B #8BECC9
square
#998BEC #EC8BAD #DEEC8B #8BECC9
split-complementary
#998BEC #ECC98B #ADEC8B
monochromatic
#3E24D9 #6B56E3 #998BEC #C7C0F5 #E8E5FB

Accessibility & contrast

On white

2.89
#998BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#998BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998BEC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BEC#FFFFFF#000000##000000
##998BEC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF0
Deuteranopia (green-blind)
#6B95EA
Tritanopia (blue-blind)
#849DB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #998bec;
/* rgb */ color: rgb(153, 139, 236);
/* oklch */ color: oklch(69.0% 0.140 288.8);
Tailwind
colors: {
  custom: {
    50: '#baadf2',
    500: '#998bec',
    950: '#000000',
  },
}
SCSS
$custom: #998bec;
$custom-light: #baadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#998bec",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 248.66,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68965,
    "c": 0.14013,
    "h": 288.8
  },
  "luminance": 0.31294
}

Semantic roles & 50–950 ramp

primary
#998BEC
secondary
#EFF2D9
accent
#D412B8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #998BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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