#998BF2#998BF2

#998BF2 is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.3% C 0.148 H 288.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#998BF2
RGBrgb(153, 139, 242)
HSLhsl(248, 80%, 75%)
HSVhsv(248, 43%, 95%)
CMYKcmyk(36.8%, 42.6%, 0%, 5.1%)
CIE-LABlab(63.05, 28.87, -50.05)
CIE-LCHlch(63.05, 57.78, 299.98°)
OKLaboklab(69.29% 0.0461 -0.1409)
OKLCHoklch(69.29% 0.148 288.1)
XYZxyz(38.3921, 31.6472, 88.0729)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BF2 #E4F28B
analogous
#8BB1F2 #998BF2 #CC8BF2
triadic
#998BF2 #F2998B #8BF299
tetradic
#998BF2 #F28BB1 #E4F28B #8BF2CC
square
#998BF2 #F28BB1 #E4F28B #8BF2CC
split-complementary
#998BF2 #F2CC8B #B1F28B
monochromatic
#381DE6 #6954EC #998BF2 #C9C2F8 #E7E3FC

Accessibility & contrast

On white

2.87
#998BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#998BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998BF2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BF2#FFFFFF#000000##000000
##998BF21.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#6796F0
Tritanopia (blue-blind)
#829FB3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #998bf2;
/* rgb */ color: rgb(153, 139, 242);
/* oklch */ color: oklch(69.3% 0.148 288.1);
Tailwind
colors: {
  custom: {
    50: '#baadf7',
    500: '#998bf2',
    950: '#000000',
  },
}
SCSS
$custom: #998bf2;
$custom-light: #baadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#998bf2",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 248.155,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69287,
    "c": 0.1483,
    "h": 288.1
  },
  "luminance": 0.31648
}

Semantic roles & 50–950 ramp

primary
#998BF2
secondary
#F0F4D7
accent
#DC09C0
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #998BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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