#978DEF#978DEF

#978DEF is a light, vivid blue. Relative luminance 0.319; OKLCH L 69.3% C 0.141 H 286.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#978DEF
RGBrgb(151, 141, 239)
HSLhsl(246, 75%, 75%)
HSVhsv(246, 41%, 94%)
CMYKcmyk(36.8%, 41%, 0%, 6.3%)
CIE-LABlab(63.23, 26.40, -48.13)
CIE-LCHlch(63.23, 54.90, 298.75°)
OKLaboklab(69.33% 0.0408 -0.1354)
OKLCHoklch(69.33% 0.141 286.8)
XYZxyz(37.8631, 31.8599, 85.7993)
Luminance0.3186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DEF #E5EF8D
analogous
#8DB4EF #978DEF #C88DEF
triadic
#978DEF #EF978D #8DEF97
tetradic
#978DEF #EF8DB4 #E5EF8D #8DEFC8
square
#978DEF #EF8DB4 #E5EF8D #8DEFC8
split-complementary
#978DEF #EFC88D #B4EF8D
monochromatic
#3522E0 #6657E7 #978DEF #C8C3F7 #E7E4FB

Accessibility & contrast

On white

2.85
#978DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#978DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DEF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DEF#FFFFFF#000000##000000
##978DEF1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF3
Deuteranopia (green-blind)
#6B96ED
Tritanopia (blue-blind)
#7FA0B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978def;
/* rgb */ color: rgb(151, 141, 239);
/* oklch */ color: oklch(69.3% 0.141 286.8);
Tailwind
colors: {
  custom: {
    50: '#b9aef4',
    500: '#978def',
    950: '#000000',
  },
}
SCSS
$custom: #978def;
$custom-light: #b9aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#978def",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 246.122,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69333,
    "c": 0.14139,
    "h": 286.8
  },
  "luminance": 0.31861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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