#998DEC#998DEC

#998DEC is a light, vivid blue. Relative luminance 0.319; OKLCH L 69.3% C 0.137 H 288.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#998DEC
RGBrgb(153, 141, 236)
HSLhsl(248, 71%, 74%)
HSVhsv(248, 40%, 93%)
CMYKcmyk(35.2%, 40.3%, 0%, 7.5%)
CIE-LABlab(63.24, 26.13, -46.44)
CIE-LCHlch(63.24, 53.29, 299.36°)
OKLaboklab(69.34% 0.0425 -0.1304)
OKLCHoklch(69.34% 0.137 288.1)
XYZxyz(37.7980, 31.8771, 83.5020)
Luminance0.3188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998DEC #E0EC8D
analogous
#8DB1EC #998DEC #C98DEC
triadic
#998DEC #EC998D #8DEC99
tetradic
#998DEC #EC8DB1 #E0EC8D #8DECC9
square
#998DEC #EC8DB1 #E0EC8D #8DECC9
split-complementary
#998DEC #ECC98D #B1EC8D
monochromatic
#3B24DA #6A59E3 #998DEC #C8C1F5 #E8E5FB

Accessibility & contrast

On white

2.85
#998DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#998DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998DEC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998DEC#FFFFFF#000000##000000
##998DEC1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#6E97EA
Tritanopia (blue-blind)
#849FB1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #998dec;
/* rgb */ color: rgb(153, 141, 236);
/* oklch */ color: oklch(69.3% 0.137 288.1);
Tailwind
colors: {
  custom: {
    50: '#baaef2',
    500: '#998dec',
    950: '#000000',
  },
}
SCSS
$custom: #998dec;
$custom-light: #baaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#998dec",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 247.579,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69336,
    "c": 0.13718,
    "h": 288.1
  },
  "luminance": 0.31878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #998DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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