#988DFD#988DFD

#988DFD is a light, vivid blue. Relative luminance 0.328; OKLCH L 70.2% C 0.160 H 286.0°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#988DFD
RGBrgb(152, 141, 253)
HSLhsl(246, 97%, 77%)
HSVhsv(246, 44%, 99%)
CMYKcmyk(39.9%, 44.3%, 0%, 0.8%)
CIE-LABlab(64.01, 30.44, -54.57)
CIE-LCHlch(64.01, 62.49, 299.15°)
OKLaboklab(70.18% 0.0441 -0.1542)
OKLCHoklch(70.18% 0.16 286)
XYZxyz(40.1984, 32.8156, 97.1255)
Luminance0.3282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988DFD #F2FD8D
analogous
#8DBAFD #988DFD #D08DFD
triadic
#988DFD #FD988D #8DFD98
tetradic
#988DFD #FD8DBA #F2FD8D #8DFDD0
square
#988DFD #FD8DBA #F2FD8D #8DFDD0
split-complementary
#988DFD #FDD08D #BAFD8D
monochromatic
#2B15FB #6251FC #988DFD #CEC9FE #E4E1FE

Accessibility & contrast

On white

2.78
#988DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#988DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #988DFD
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988DFD#FFFFFF#000000##000000
##988DFD1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #988dfd;
/* rgb */ color: rgb(152, 141, 253);
/* oklch */ color: oklch(70.2% 0.160 286.0);
Tailwind
colors: {
  custom: {
    50: '#baaefe',
    500: '#988dfd',
    950: '#000000',
  },
}
SCSS
$custom: #988dfd;
$custom-light: #baaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#988dfd",
  "rgb": {
    "r": 152,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 245.893,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70177,
    "c": 0.16036,
    "h": 286
  },
  "luminance": 0.32817
}

Semantic roles & 50–950 ramp

primary
#988DFD
secondary
#F3F7D4
accent
#E600CF
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #988DFD

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

Preview Lab → · Contrast checker → · Palette generator →

#988DFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva