#998BEA#998BEA

#998BEA is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.9% C 0.137 H 289.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#998BEA
RGBrgb(153, 139, 234)
HSLhsl(249, 69%, 73%)
HSVhsv(249, 41%, 92%)
CMYKcmyk(34.6%, 40.6%, 0%, 8.2%)
CIE-LABlab(62.66, 26.76, -46.26)
CIE-LCHlch(62.66, 53.44, 300.04°)
OKLaboklab(68.86% 0.0448 -0.1299)
OKLCHoklch(68.86% 0.137 289)
XYZxyz(37.2168, 31.1771, 81.8829)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BEA #DCEA8B
analogous
#8BACEA #998BEA #C88BEA
triadic
#998BEA #EA998B #8BEA99
tetradic
#998BEA #EA8BAC #DCEA8B #8BEAC8
square
#998BEA #EA8BAC #DCEA8B #8BEAC8
split-complementary
#998BEA #EAC88B #ACEA8B
monochromatic
#4026D4 #6B57E1 #998BEA #C7BFF3 #E8E5FA

Accessibility & contrast

On white

2.90
#998BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#998BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998BEA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BEA#FFFFFF#000000##000000
##998BEA1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEE
Deuteranopia (green-blind)
#6D95E8
Tritanopia (blue-blind)
#859DAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #998bea;
/* rgb */ color: rgb(153, 139, 234);
/* oklch */ color: oklch(68.9% 0.137 289.0);
Tailwind
colors: {
  custom: {
    50: '#baadf1',
    500: '#998bea',
    950: '#000000',
  },
}
SCSS
$custom: #998bea;
$custom-light: #baadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#998bea",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 248.842,
    "s": 69.343,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6886,
    "c": 0.13739,
    "h": 289
  },
  "luminance": 0.31178
}

Semantic roles & 50–950 ramp

primary
#998BEA
secondary
#EEF2D9
accent
#D114B5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #998BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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