#978FF8#978FF8

#978FF8 is a light, vivid blue. Relative luminance 0.330; OKLCH L 70.2% C 0.151 H 285.3°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#978FF8
RGBrgb(151, 143, 248)
HSLhsl(245, 88%, 77%)
HSVhsv(245, 42%, 97%)
CMYKcmyk(39.1%, 42.3%, 0%, 2.7%)
CIE-LABlab(64.16, 27.68, -51.60)
CIE-LCHlch(64.16, 58.56, 298.21°)
OKLaboklab(70.19% 0.0398 -0.1455)
OKLCHoklch(70.19% 0.151 285.3)
XYZxyz(39.5235, 33.0001, 93.0759)
Luminance0.3300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FF8 #F0F88F
analogous
#8FBCF8 #978FF8 #CB8FF8
triadic
#978FF8 #F8978F #8FF897
tetradic
#978FF8 #F88FBC #F0F88F #8FF8CB
square
#978FF8 #F88FBC #F0F88F #8FF8CB
split-complementary
#978FF8 #F8CB8F #BCF88F
monochromatic
#2C1CF1 #6255F4 #978FF8 #CCC9FC #E4E2FD

Accessibility & contrast

On white

2.76
#978FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#978FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FF8
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FF8#FFFFFF#000000##000000
##978FF81.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFC
Deuteranopia (green-blind)
#6798F6
Tritanopia (blue-blind)
#7BA4B8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #978ff8;
/* rgb */ color: rgb(151, 143, 248);
/* oklch */ color: oklch(70.2% 0.151 285.3);
Tailwind
colors: {
  custom: {
    50: '#b9affb',
    500: '#978ff8',
    950: '#000000',
  },
}
SCSS
$custom: #978ff8;
$custom-light: #b9affb;
$custom-dark: #000000;
JSON
{
  "hex": "#978ff8",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 244.571,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.70189,
    "c": 0.15084,
    "h": 285.3
  },
  "luminance": 0.33002
}

Semantic roles & 50–950 ramp

primary
#978FF8
secondary
#F3F5D6
accent
#E501D3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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