#998EFF#998EFF

#998EFF is a light, vivid blue. Relative luminance 0.333; OKLCH L 70.5% C 0.162 H 285.9°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#998EFF
RGBrgb(153, 142, 255)
HSLhsl(246, 100%, 78%)
HSVhsv(246, 44%, 100%)
CMYKcmyk(40%, 44.3%, 0%, 0%)
CIE-LABlab(64.43, 30.65, -54.99)
CIE-LCHlch(64.43, 62.96, 299.13°)
OKLaboklab(70.55% 0.0443 -0.1554)
OKLCHoklch(70.55% 0.162 285.9)
XYZxyz(40.8548, 33.3368, 98.8704)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998EFF #F4FF8E
analogous
#8EBBFF #998EFF #D28EFF
triadic
#998EFF #FF998E #8EFF99
tetradic
#998EFF #FF8EBB #F4FF8E #8EFFD2
square
#998EFF #FF8EBB #F4FF8E #8EFFD2
split-complementary
#998EFF #FFD28E #BBFF8E
monochromatic
#2B14FF #6251FF #998EFF #D0CBFF #E3E0FF

Accessibility & contrast

On white

2.74
#998EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#998EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998EFF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998EFF#FFFFFF#000000##000000
##998EFF1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#6299FC
Tritanopia (blue-blind)
#7CA5BA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #998eff;
/* rgb */ color: rgb(153, 142, 255);
/* oklch */ color: oklch(70.5% 0.162 285.9);
Tailwind
colors: {
  custom: {
    50: '#bbafff',
    500: '#998eff',
    950: '#000000',
  },
}
SCSS
$custom: #998eff;
$custom-light: #bbafff;
$custom-dark: #000000;
JSON
{
  "hex": "#998eff",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 245.841,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.70549,
    "c": 0.16156,
    "h": 285.9
  },
  "luminance": 0.33338
}

Semantic roles & 50–950 ramp

primary
#998EFF
secondary
#F4F7D4
accent
#E600CF
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #998EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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