#998FEE#998FEE

#998FEE is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.8% C 0.137 H 287.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#998FEE
RGBrgb(153, 143, 238)
HSLhsl(246, 74%, 75%)
HSVhsv(246, 40%, 93%)
CMYKcmyk(35.7%, 39.9%, 0%, 6.7%)
CIE-LABlab(63.83, 25.51, -46.62)
CIE-LCHlch(63.83, 53.15, 298.69°)
OKLaboklab(69.81% 0.0403 -0.1309)
OKLCHoklch(69.81% 0.137 287.1)
XYZxyz(38.3877, 32.5891, 85.1401)
Luminance0.3259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FEE #E4EE8F
analogous
#8FB5EE #998FEE #C98FEE
triadic
#998FEE #EE998F #8FEE99
tetradic
#998FEE #EE8FB5 #E4EE8F #8FEEC9
square
#998FEE #EE8FB5 #E4EE8F #8FEEC9
split-complementary
#998FEE #EEC98F #B5EE8F
monochromatic
#3825DE #695AE6 #998FEE #C9C4F6 #E7E4FB

Accessibility & contrast

On white

2.79
#998FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#998FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FEE
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FEE#FFFFFF#000000##000000
##998FEE1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF2
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#83A1B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #998fee;
/* rgb */ color: rgb(153, 143, 238);
/* oklch */ color: oklch(69.8% 0.137 287.1);
Tailwind
colors: {
  custom: {
    50: '#baaff4',
    500: '#998fee',
    950: '#000000',
  },
}
SCSS
$custom: #998fee;
$custom-light: #baaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#998fee",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 246.316,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69813,
    "c": 0.137,
    "h": 287.1
  },
  "luminance": 0.3259
}

Semantic roles & 50–950 ramp

primary
#998FEE
secondary
#F0F3D8
accent
#D610C1
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #998FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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