#998FEC#998FEC

#998FEC is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.7% C 0.134 H 287.3°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#998FEC
RGBrgb(153, 143, 236)
HSLhsl(246, 71%, 74%)
HSVhsv(246, 39%, 93%)
CMYKcmyk(35.2%, 39.4%, 0%, 7.5%)
CIE-LABlab(63.73, 24.98, -45.67)
CIE-LCHlch(63.73, 52.06, 298.68°)
OKLaboklab(69.71% 0.0399 -0.1282)
OKLCHoklch(69.71% 0.134 287.3)
XYZxyz(38.0955, 32.4723, 83.6012)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FEC #E2EC8F
analogous
#8FB4EC #998FEC #C88FEC
triadic
#998FEC #EC998F #8FEC99
tetradic
#998FEC #EC8FB4 #E2EC8F #8FECC8
square
#998FEC #EC8FB4 #E2EC8F #8FECC8
split-complementary
#998FEC #ECC88F #B4EC8F
monochromatic
#3A26DA #695BE3 #998FEC #C9C3F5 #E7E5FB

Accessibility & contrast

On white

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

On black

7.49
#998FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FEC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FEC#FFFFFF#000000##000000
##998FEC1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF0
Deuteranopia (green-blind)
#7098EA
Tritanopia (blue-blind)
#84A1B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #998fec;
/* rgb */ color: rgb(153, 143, 236);
/* oklch */ color: oklch(69.7% 0.134 287.3);
Tailwind
colors: {
  custom: {
    50: '#baaff2',
    500: '#998fec',
    950: '#000000',
  },
}
SCSS
$custom: #998fec;
$custom-light: #baaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#998fec",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 236
  },
  "hsl": {
    "h": 246.452,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69709,
    "c": 0.13425,
    "h": 287.3
  },
  "luminance": 0.32473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #998FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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