#978FDA#978FDA

#978FDA is a light, moderate blue. Relative luminance 0.313; OKLCH L 68.6% C 0.109 H 288.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#978FDA
RGBrgb(151, 143, 218)
HSLhsl(246, 50%, 71%)
HSVhsv(246, 34%, 85%)
CMYKcmyk(30.7%, 34.4%, 0%, 14.5%)
CIE-LABlab(62.75, 19.76, -37.25)
CIE-LCHlch(62.75, 42.17, 297.94°)
OKLaboklab(68.65% 0.0338 -0.1038)
OKLCHoklch(68.65% 0.109 288.1)
XYZxyz(35.2366, 31.2854, 70.4983)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FDA #D2DA8F
analogous
#8FACDA #978FDA #BC8FDA
triadic
#978FDA #DA978F #8FDA97
tetradic
#978FDA #DA8FAC #D2DA8F #8FDABC
square
#978FDA #DA8FAC #D2DA8F #8FDABC
split-complementary
#978FDA #DABC8F #ACDA8F
monochromatic
#483BB3 #6C61CB #978FDA #C2BDE9 #EAE8F7

Accessibility & contrast

On white

2.89
#978FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#978FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FDA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FDA#FFFFFF#000000##000000
##978FDA1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#799ADD
Deuteranopia (green-blind)
#7996D8
Tritanopia (blue-blind)
#879DAA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978fda;
/* rgb */ color: rgb(151, 143, 218);
/* oklch */ color: oklch(68.6% 0.109 288.1);
Tailwind
colors: {
  custom: {
    50: '#b7afe5',
    500: '#978fda',
    950: '#000000',
  },
}
SCSS
$custom: #978fda;
$custom-light: #b7afe5;
$custom-dark: #000000;
JSON
{
  "hex": "#978fda",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 246.4,
    "s": 50.336,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68648,
    "c": 0.10919,
    "h": 288.1
  },
  "luminance": 0.31286
}

Semantic roles & 50–950 ramp

primary
#978FDA
secondary
#EAECD8
accent
#BE28AE
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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