#978FFF#978FFF

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

Color values

HEX#978FFF
RGBrgb(151, 143, 255)
HSLhsl(244, 100%, 78%)
HSVhsv(244, 44%, 100%)
CMYKcmyk(40.8%, 43.9%, 0%, 0%)
CIE-LABlab(64.52, 29.59, -54.87)
CIE-LCHlch(64.52, 62.34, 298.34°)
OKLaboklab(70.58% 0.0408 -0.155)
OKLCHoklch(70.58% 0.16 284.8)
XYZxyz(40.6298, 33.4427, 98.9027)
Luminance0.3344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FFF #F7FF8F
analogous
#8FBFFF #978FFF #CF8FFF
triadic
#978FFF #FF978F #8FFF97
tetradic
#978FFF #FF8FBF #F7FF8F #8FFFCF
square
#978FFF #FF8FBF #F7FF8F #8FFFCF
split-complementary
#978FFF #FFCF8F #BFFF8F
monochromatic
#2515FF #5E52FF #978FFF #D0CCFF #E3E0FF

Accessibility & contrast

On white

2.73
#978FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#978FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FFF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FFF#FFFFFF#000000##000000
##978FFF1.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)
#65A0FF
Deuteranopia (green-blind)
#6299FC
Tritanopia (blue-blind)
#78A6BB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #978fff;
/* rgb */ color: rgb(151, 143, 255);
/* oklch */ color: oklch(70.6% 0.160 284.8);
Tailwind
colors: {
  custom: {
    50: '#baafff',
    500: '#978fff',
    950: '#000000',
  },
}
SCSS
$custom: #978fff;
$custom-light: #baafff;
$custom-dark: #000000;
JSON
{
  "hex": "#978fff",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 255
  },
  "hsl": {
    "h": 244.286,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.70575,
    "c": 0.16032,
    "h": 284.8
  },
  "luminance": 0.33444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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