#978FFC#978FFC

#978FFC is a light, vivid blue. Relative luminance 0.333; OKLCH L 70.4% C 0.156 H 285.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#978FFC
RGBrgb(151, 143, 252)
HSLhsl(244, 95%, 77%)
HSVhsv(244, 43%, 99%)
CMYKcmyk(40.1%, 43.3%, 0%, 1.2%)
CIE-LABlab(64.36, 28.77, -53.47)
CIE-LCHlch(64.36, 60.72, 298.28°)
OKLaboklab(70.41% 0.0404 -0.151)
OKLCHoklch(70.41% 0.156 285)
XYZxyz(40.1507, 33.2510, 96.3792)
Luminance0.3325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FFC #F4FC8F
analogous
#8FBDFC #978FFC #CE8FFC
triadic
#978FFC #FC978F #8FFC97
tetradic
#978FFC #FC8FBD #F4FC8F #8FFCCE
square
#978FFC #FC8FBD #F4FC8F #8FFCCE
split-complementary
#978FFC #FCCE8F #BDFC8F
monochromatic
#2818F9 #6053FA #978FFC #CECBFE #E3E1FE

Accessibility & contrast

On white

2.74
#978FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#978FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FFC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FFC#FFFFFF#000000##000000
##978FFC1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#6499F9
Tritanopia (blue-blind)
#7AA5B9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #978ffc;
/* rgb */ color: rgb(151, 143, 252);
/* oklch */ color: oklch(70.4% 0.156 285.0);
Tailwind
colors: {
  custom: {
    50: '#baaffe',
    500: '#978ffc',
    950: '#000000',
  },
}
SCSS
$custom: #978ffc;
$custom-light: #baaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#978ffc",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 244.404,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.70408,
    "c": 0.15627,
    "h": 285
  },
  "luminance": 0.33253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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