#998FEB#998FEB

#998FEB is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.7% C 0.133 H 287.4°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#998FEB
RGBrgb(153, 143, 235)
HSLhsl(247, 70%, 74%)
HSVhsv(247, 39%, 92%)
CMYKcmyk(34.9%, 39.1%, 0%, 7.8%)
CIE-LABlab(63.68, 24.72, -45.19)
CIE-LCHlch(63.68, 51.51, 298.68°)
OKLaboklab(69.66% 0.0397 -0.1268)
OKLCHoklch(69.66% 0.133 287.4)
XYZxyz(37.9507, 32.4143, 82.8382)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FEB #E1EB8F
analogous
#8FB3EB #998FEB #C78FEB
triadic
#998FEB #EB998F #8FEB99
tetradic
#998FEB #EB8FB3 #E1EB8F #8FEBC7
square
#998FEB #EB8FB3 #E1EB8F #8FEBC7
split-complementary
#998FEB #EBC78F #B3EB8F
monochromatic
#3A27D8 #6A5BE2 #998FEB #C8C3F4 #E7E5FA

Accessibility & contrast

On white

2.81
#998FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#998FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FEB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FEB#FFFFFF#000000##000000
##998FEB1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DEF
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#84A0B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #998feb;
/* rgb */ color: rgb(153, 143, 235);
/* oklch */ color: oklch(69.7% 0.133 287.4);
Tailwind
colors: {
  custom: {
    50: '#baaff2',
    500: '#998feb',
    950: '#000000',
  },
}
SCSS
$custom: #998feb;
$custom-light: #baaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#998feb",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 246.522,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69657,
    "c": 0.13286,
    "h": 287.4
  },
  "luminance": 0.32415
}

Semantic roles & 50–950 ramp

primary
#998FEB
secondary
#EFF2D9
accent
#D214BD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #998FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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