#978CFF#978CFF

#978CFF is a light, vivid blue. Relative luminance 0.326; OKLCH L 70.0% C 0.165 H 285.7°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#978CFF
RGBrgb(151, 140, 255)
HSLhsl(246, 100%, 77%)
HSVhsv(246, 45%, 100%)
CMYKcmyk(40.8%, 45.1%, 0%, 0%)
CIE-LABlab(63.80, 31.32, -56.01)
CIE-LCHlch(63.80, 64.17, 299.21°)
OKLaboklab(70.03% 0.0445 -0.1584)
OKLCHoklch(70.03% 0.165 285.7)
XYZxyz(40.1855, 32.5540, 98.7546)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CFF #F4FF8C
analogous
#8CBBFF #978CFF #D08CFF
triadic
#978CFF #FF978C #8CFF97
tetradic
#978CFF #FF8CBB #F4FF8C #8CFFD0
square
#978CFF #FF8CBB #F4FF8C #8CFFD0
split-complementary
#978CFF #FFD08C #BBFF8C
monochromatic
#2812FF #604FFF #978CFF #CEC9FF #E3E0FF

Accessibility & contrast

On white

2.80
#978CFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#978CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CFF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CFF#FFFFFF#000000##000000
##978CFF1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#5E97FC
Tritanopia (blue-blind)
#79A3B9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #978cff;
/* rgb */ color: rgb(151, 140, 255);
/* oklch */ color: oklch(70.0% 0.165 285.7);
Tailwind
colors: {
  custom: {
    50: '#baadff',
    500: '#978cff',
    950: '#000000',
  },
}
SCSS
$custom: #978cff;
$custom-light: #baadff;
$custom-dark: #000000;
JSON
{
  "hex": "#978cff",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 255
  },
  "hsl": {
    "h": 245.739,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.70031,
    "c": 0.16453,
    "h": 285.7
  },
  "luminance": 0.32555
}

Semantic roles & 50–950 ramp

primary
#978CFF
secondary
#F4F7D4
accent
#E600D0
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #978CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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