#978FCA#978FCA

#978FCA is a light, moderate blue. Relative luminance 0.305; OKLCH L 67.9% C 0.086 H 290.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#978FCA
RGBrgb(151, 143, 202)
HSLhsl(248, 36%, 68%)
HSVhsv(248, 29%, 79%)
CMYKcmyk(25.2%, 29.2%, 0%, 20.8%)
CIE-LABlab(62.07, 15.76, -29.36)
CIE-LCHlch(62.07, 33.32, 298.23°)
OKLaboklab(67.91% 0.0297 -0.0812)
OKLCHoklch(67.91% 0.086 290.1)
XYZxyz(33.2430, 30.4880, 59.9990)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FCA #C2CA8F
analogous
#8FA4CA #978FCA #B58FCA
triadic
#978FCA #CA978F #8FCA97
tetradic
#978FCA #CA8FA4 #C2CA8F #8FCAB5
square
#978FCA #CA8FA4 #C2CA8F #8FCAB5
split-complementary
#978FCA #CAB58F #A4CA8F
monochromatic
#524897 #7065B6 #978FCA #BEB9DE #E4E2F1

Accessibility & contrast

On white

2.96
#978FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#978FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FCA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FCA#FFFFFF#000000##000000
##978FCA1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8097CC
Deuteranopia (green-blind)
#8095C8
Tritanopia (blue-blind)
#8C99A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #978fca;
/* rgb */ color: rgb(151, 143, 202);
/* oklch */ color: oklch(67.9% 0.086 290.1);
Tailwind
colors: {
  custom: {
    50: '#b6afda',
    500: '#978fca',
    950: '#000000',
  },
}
SCSS
$custom: #978fca;
$custom-light: #b6afda;
$custom-dark: #000000;
JSON
{
  "hex": "#978fca",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 248.136,
    "s": 35.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67907,
    "c": 0.08643,
    "h": 290.1
  },
  "luminance": 0.30488
}

Semantic roles & 50–950 ramp

primary
#978FCA
secondary
#E1E4D1
accent
#AF379E
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111015
muted
#807F83

Preview Lab

Preview with #978FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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