#978CDA#978CDA

#978CDA is a light, moderate blue. Relative luminance 0.304; OKLCH L 68.1% C 0.114 H 289.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#978CDA
RGBrgb(151, 140, 218)
HSLhsl(248, 51%, 70%)
HSVhsv(248, 36%, 85%)
CMYKcmyk(30.7%, 35.8%, 0%, 14.5%)
CIE-LABlab(61.99, 21.49, -38.43)
CIE-LCHlch(61.99, 44.03, 299.21°)
OKLaboklab(68.07% 0.0379 -0.1072)
OKLCHoklch(68.07% 0.114 289.5)
XYZxyz(34.7922, 30.3967, 70.3501)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CDA #CFDA8C
analogous
#8CA8DA #978CDA #BE8CDA
triadic
#978CDA #DA978C #8CDA97
tetradic
#978CDA #DA8CA8 #CFDA8C #8CDABE
square
#978CDA #DA8CA8 #CFDA8C #8CDABE
split-complementary
#978CDA #DABE8C #A8DA8C
monochromatic
#4A39B2 #6D5ECB #978CDA #C1BAE9 #EAE8F8

Accessibility & contrast

On white

2.97
#978CDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#978CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CDA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CDA#FFFFFF#000000##000000
##978CDA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7697DD
Deuteranopia (green-blind)
#7694D8
Tritanopia (blue-blind)
#879AA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #978cda;
/* rgb */ color: rgb(151, 140, 218);
/* oklch */ color: oklch(68.1% 0.114 289.5);
Tailwind
colors: {
  custom: {
    50: '#b7ade6',
    500: '#978cda',
    950: '#000000',
  },
}
SCSS
$custom: #978cda;
$custom-light: #b7ade6;
$custom-dark: #000000;
JSON
{
  "hex": "#978cda",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 218
  },
  "hsl": {
    "h": 248.462,
    "s": 51.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68071,
    "c": 0.11372,
    "h": 289.5
  },
  "luminance": 0.30397
}

Semantic roles & 50–950 ramp

primary
#978CDA
secondary
#E9ECD6
accent
#BF27A9
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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