#978FDC#978FDC

#978FDC is a light, moderate blue. Relative luminance 0.314; OKLCH L 68.7% C 0.112 H 287.8°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#978FDC
RGBrgb(151, 143, 220)
HSLhsl(246, 52%, 71%)
HSVhsv(246, 35%, 86%)
CMYKcmyk(31.4%, 35%, 0%, 13.7%)
CIE-LABlab(62.84, 20.27, -38.23)
CIE-LCHlch(62.84, 43.27, 297.94°)
OKLaboklab(68.75% 0.0343 -0.1066)
OKLCHoklch(68.75% 0.112 287.8)
XYZxyz(35.4998, 31.3907, 71.8849)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FDC #D4DC8F
analogous
#8FADDC #978FDC #BD8FDC
triadic
#978FDC #DC978F #8FDC97
tetradic
#978FDC #DC8FAD #D4DC8F #8FDCBD
square
#978FDC #DC8FAD #D4DC8F #8FDCBD
split-complementary
#978FDC #DCBD8F #ADDC8F
monochromatic
#4639B7 #6C60CD #978FDC #C2BEEB #E9E8F8

Accessibility & contrast

On white

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

On black

7.28
#978FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FDC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FDC#FFFFFF#000000##000000
##978FDC1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#799ADF
Deuteranopia (green-blind)
#7896DA
Tritanopia (blue-blind)
#869DAB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978fdc;
/* rgb */ color: rgb(151, 143, 220);
/* oklch */ color: oklch(68.7% 0.112 287.8);
Tailwind
colors: {
  custom: {
    50: '#b7afe7',
    500: '#978fdc',
    950: '#000000',
  },
}
SCSS
$custom: #978fdc;
$custom-light: #b7afe7;
$custom-dark: #000000;
JSON
{
  "hex": "#978fdc",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 220
  },
  "hsl": {
    "h": 246.234,
    "s": 52.381,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68745,
    "c": 0.11201,
    "h": 287.8
  },
  "luminance": 0.31392
}

Semantic roles & 50–950 ramp

primary
#978FDC
secondary
#EBEED9
accent
#C026B0
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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