#978EF7#978EF7

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

Color values

HEX#978EF7
RGBrgb(151, 142, 247)
HSLhsl(245, 87%, 76%)
HSVhsv(245, 43%, 97%)
CMYKcmyk(38.9%, 42.5%, 0%, 3.1%)
CIE-LABlab(63.87, 27.98, -51.52)
CIE-LCHlch(63.87, 58.63, 298.51°)
OKLaboklab(69.95% 0.0409 -0.1452)
OKLCHoklch(69.95% 0.151 285.7)
XYZxyz(39.2193, 32.6393, 92.2113)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EF7 #EEF78E
analogous
#8EBAF7 #978EF7 #CC8EF7
triadic
#978EF7 #F7978E #8EF797
tetradic
#978EF7 #F78EBA #EEF78E #8EF7CC
square
#978EF7 #F78EBA #EEF78E #8EF7CC
split-complementary
#978EF7 #F7CC8E #BAF78E
monochromatic
#2E1CEF #6255F3 #978EF7 #CCC7FB #E5E2FD

Accessibility & contrast

On white

2.79
#978EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#978EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EF7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EF7#FFFFFF#000000##000000
##978EF71.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#6798F5
Tritanopia (blue-blind)
#7CA3B7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #978ef7;
/* rgb */ color: rgb(151, 142, 247);
/* oklch */ color: oklch(70.0% 0.151 285.7);
Tailwind
colors: {
  custom: {
    50: '#b9affa',
    500: '#978ef7',
    950: '#000000',
  },
}
SCSS
$custom: #978ef7;
$custom-light: #b9affa;
$custom-dark: #000000;
JSON
{
  "hex": "#978ef7",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 245.143,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.6995,
    "c": 0.15089,
    "h": 285.7
  },
  "luminance": 0.32641
}

Semantic roles & 50–950 ramp

primary
#978EF7
secondary
#F2F5D6
accent
#E302D0
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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