#998CFD#998CFD

#998CFD is a light, vivid blue. Relative luminance 0.326; OKLCH L 70.1% C 0.162 H 286.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#998CFD
RGBrgb(153, 140, 253)
HSLhsl(247, 97%, 77%)
HSVhsv(247, 45%, 99%)
CMYKcmyk(39.5%, 44.7%, 0%, 0.8%)
CIE-LABlab(63.85, 31.26, -54.82)
CIE-LCHlch(63.85, 63.11, 299.69°)
OKLaboklab(70.08% 0.0465 -0.1549)
OKLCHoklch(70.08% 0.162 286.7)
XYZxyz(40.2396, 32.6189, 97.0854)
Luminance0.3262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998CFD #F0FD8C
analogous
#8CB7FD #998CFD #D28CFD
triadic
#998CFD #FD998C #8CFD99
tetradic
#998CFD #FD8CB7 #F0FD8C #8CFDD2
square
#998CFD #FD8CB7 #F0FD8C #8CFDD2
split-complementary
#998CFD #FDD28C #B7FD8C
monochromatic
#2E14FB #6450FC #998CFD #CEC8FE #E4E1FE

Accessibility & contrast

On white

2.79
#998CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#998CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998CFD
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998CFD#FFFFFF#000000##000000
##998CFD1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#6198FA
Tritanopia (blue-blind)
#7DA3B8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #998cfd;
/* rgb */ color: rgb(153, 140, 253);
/* oklch */ color: oklch(70.1% 0.162 286.7);
Tailwind
colors: {
  custom: {
    50: '#bbadfe',
    500: '#998cfd',
    950: '#000000',
  },
}
SCSS
$custom: #998cfd;
$custom-light: #bbadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#998cfd",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 246.903,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.70076,
    "c": 0.1617,
    "h": 286.7
  },
  "luminance": 0.3262
}

Semantic roles & 50–950 ramp

primary
#998CFD
secondary
#F3F7D4
accent
#E600CB
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #998CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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