#998FFC#998FFC

#998FFC is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.6% C 0.156 H 285.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#998FFC
RGBrgb(153, 143, 252)
HSLhsl(246, 95%, 77%)
HSVhsv(246, 43%, 99%)
CMYKcmyk(39.3%, 43.3%, 0%, 1.2%)
CIE-LABlab(64.52, 29.26, -53.22)
CIE-LCHlch(64.52, 60.73, 298.81°)
OKLaboklab(70.56% 0.0427 -0.1502)
OKLCHoklch(70.56% 0.156 285.9)
XYZxyz(40.5251, 33.4441, 96.3967)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FFC #F2FC8F
analogous
#8FBBFC #998FFC #D08FFC
triadic
#998FFC #FC998F #8FFC99
tetradic
#998FFC #FC8FBB #F2FC8F #8FFCD0
square
#998FFC #FC8FBB #F2FC8F #8FFCD0
split-complementary
#998FFC #FCD08F #BBFC8F
monochromatic
#2C18F9 #6353FA #998FFC #CFCBFE #E4E1FE

Accessibility & contrast

On white

2.73
#998FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#998FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FFC
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FFC#FFFFFF#000000##000000
##998FFC1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#7DA5B9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #998ffc;
/* rgb */ color: rgb(153, 143, 252);
/* oklch */ color: oklch(70.6% 0.156 285.9);
Tailwind
colors: {
  custom: {
    50: '#bbaffe',
    500: '#998ffc',
    950: '#000000',
  },
}
SCSS
$custom: #998ffc;
$custom-light: #bbaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#998ffc",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 245.505,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.70564,
    "c": 0.15611,
    "h": 285.9
  },
  "luminance": 0.33446
}

Semantic roles & 50–950 ramp

primary
#998FFC
secondary
#F3F6D5
accent
#E600D0
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #998FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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