#998FEF#998FEF

#998FEF is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.9% C 0.138 H 287.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#998FEF
RGBrgb(153, 143, 239)
HSLhsl(246, 75%, 75%)
HSVhsv(246, 40%, 94%)
CMYKcmyk(36%, 40.2%, 0%, 6.3%)
CIE-LABlab(63.88, 25.77, -47.10)
CIE-LCHlch(63.88, 53.69, 298.69°)
OKLaboklab(69.86% 0.0405 -0.1323)
OKLCHoklch(69.86% 0.138 287)
XYZxyz(38.5351, 32.6481, 85.9160)
Luminance0.3265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FEF #E5EF8F
analogous
#8FB5EF #998FEF #C98FEF
triadic
#998FEF #EF998F #8FEF99
tetradic
#998FEF #EF8FB5 #E5EF8F #8FEFC9
square
#998FEF #EF8FB5 #E5EF8F #8FEFC9
split-complementary
#998FEF #EFC98F #B5EF8F
monochromatic
#3724E0 #6859E7 #998FEF #CAC5F7 #E7E4FB

Accessibility & contrast

On white

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

On black

7.53
#998FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FEF
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FEF#FFFFFF#000000##000000
##998FEF1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF3
Deuteranopia (green-blind)
#6E98ED
Tritanopia (blue-blind)
#82A1B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #998fef;
/* rgb */ color: rgb(153, 143, 239);
/* oklch */ color: oklch(69.9% 0.138 287.0);
Tailwind
colors: {
  custom: {
    50: '#baaff4',
    500: '#998fef',
    950: '#000000',
  },
}
SCSS
$custom: #998fef;
$custom-light: #baaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#998fef",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 246.25,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69865,
    "c": 0.13838,
    "h": 287
  },
  "luminance": 0.32649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #998FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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