#978FFB#978FFB

#978FFB is a light, vivid blue. Relative luminance 0.332; OKLCH L 70.4% C 0.155 H 285.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#978FFB
RGBrgb(151, 143, 251)
HSLhsl(244, 93%, 77%)
HSVhsv(244, 43%, 98%)
CMYKcmyk(39.8%, 43%, 0%, 1.6%)
CIE-LABlab(64.31, 28.50, -53.01)
CIE-LCHlch(64.31, 60.18, 298.26°)
OKLaboklab(70.35% 0.0402 -0.1496)
OKLCHoklch(70.35% 0.155 285.1)
XYZxyz(39.9926, 33.1878, 95.5468)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FFB #F3FB8F
analogous
#8FBDFB #978FFB #CD8FFB
triadic
#978FFB #FB978F #8FFB97
tetradic
#978FFB #FB8FBD #F3FB8F #8FFBCD
square
#978FFB #FB8FBD #F3FB8F #8FFBCD
split-complementary
#978FFB #FBCD8F #BDFB8F
monochromatic
#2919F7 #6054F9 #978FFB #CECAFD #E4E1FE

Accessibility & contrast

On white

2.75
#978FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#978FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FFB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FFB#FFFFFF#000000##000000
##978FFB1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978ffb;
/* rgb */ color: rgb(151, 143, 251);
/* oklch */ color: oklch(70.4% 0.155 285.1);
Tailwind
colors: {
  custom: {
    50: '#baaffd',
    500: '#978ffb',
    950: '#000000',
  },
}
SCSS
$custom: #978ffb;
$custom-light: #baaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#978ffb",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 244.444,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70353,
    "c": 0.15491,
    "h": 285.1
  },
  "luminance": 0.33189
}

Semantic roles & 50–950 ramp

primary
#978FFB
secondary
#F4F6D5
accent
#E600D5
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #978FFB

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

Preview Lab → · Contrast checker → · Palette generator →

#978FFB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva