#978EEF#978EEF

#978EEF is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.5% C 0.140 H 286.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#978EEF
RGBrgb(151, 142, 239)
HSLhsl(246, 75%, 75%)
HSVhsv(246, 41%, 94%)
CMYKcmyk(36.8%, 40.6%, 0%, 6.3%)
CIE-LABlab(63.47, 25.83, -47.75)
CIE-LCHlch(63.47, 54.28, 298.41°)
OKLaboklab(69.52% 0.0395 -0.1342)
OKLCHoklch(69.52% 0.14 286.4)
XYZxyz(38.0112, 32.1561, 85.8486)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EEF #E6EF8E
analogous
#8EB6EF #978EEF #C88EEF
triadic
#978EEF #EF978E #8EEF97
tetradic
#978EEF #EF8EB6 #E6EF8E #8EEFC8
square
#978EEF #EF8EB6 #E6EF8E #8EEFC8
split-complementary
#978EEF #EFC88E #B6EF8E
monochromatic
#3423E0 #6658E7 #978EEF #C8C4F7 #E6E4FB

Accessibility & contrast

On white

2.83
#978EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#978EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EEF
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EEF#FFFFFF#000000##000000
##978EEF1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#6C97ED
Tritanopia (blue-blind)
#7FA1B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978eef;
/* rgb */ color: rgb(151, 142, 239);
/* oklch */ color: oklch(69.5% 0.140 286.4);
Tailwind
colors: {
  custom: {
    50: '#b9aff4',
    500: '#978eef',
    950: '#000000',
  },
}
SCSS
$custom: #978eef;
$custom-light: #b9aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#978eef",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 245.567,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69519,
    "c": 0.13994,
    "h": 286.4
  },
  "luminance": 0.32157
}

Semantic roles & 50–950 ramp

primary
#978EEF
secondary
#F0F3D8
accent
#D70EC5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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