#998EEE#998EEE

#998EEE is a light, vivid blue. Relative luminance 0.323; OKLCH L 69.6% C 0.138 H 287.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#998EEE
RGBrgb(153, 142, 238)
HSLhsl(247, 74%, 75%)
HSVhsv(247, 40%, 93%)
CMYKcmyk(35.7%, 40.3%, 0%, 6.7%)
CIE-LABlab(63.58, 26.08, -47.01)
CIE-LCHlch(63.58, 53.76, 299.03°)
OKLaboklab(69.63% 0.0416 -0.1321)
OKLCHoklch(69.63% 0.138 287.5)
XYZxyz(38.2383, 32.2902, 85.0903)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998EEE #E3EE8E
analogous
#8EB3EE #998EEE #C98EEE
triadic
#998EEE #EE998E #8EEE99
tetradic
#998EEE #EE8EB3 #E3EE8E #8EEEC9
square
#998EEE #EE8EB3 #E3EE8E #8EEEC9
split-complementary
#998EEE #EEC98E #B3EE8E
monochromatic
#3924DE #6959E6 #998EEE #C9C3F6 #E7E4FB

Accessibility & contrast

On white

2.82
#998EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#998EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998EEE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998EEE#FFFFFF#000000##000000
##998EEE1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF2
Deuteranopia (green-blind)
#6E97EC
Tritanopia (blue-blind)
#83A0B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #998eee;
/* rgb */ color: rgb(153, 142, 238);
/* oklch */ color: oklch(69.6% 0.138 287.5);
Tailwind
colors: {
  custom: {
    50: '#baaff4',
    500: '#998eee',
    950: '#000000',
  },
}
SCSS
$custom: #998eee;
$custom-light: #baaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#998eee",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 246.875,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69627,
    "c": 0.13846,
    "h": 287.5
  },
  "luminance": 0.32291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #998EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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