#978FCF#978FCF

#978FCF is a light, moderate blue. Relative luminance 0.307; OKLCH L 68.1% C 0.094 H 289.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#978FCF
RGBrgb(151, 143, 207)
HSLhsl(248, 40%, 69%)
HSVhsv(248, 31%, 81%)
CMYKcmyk(27.1%, 30.9%, 0%, 18.8%)
CIE-LABlab(62.28, 16.99, -31.84)
CIE-LCHlch(62.28, 36.09, 298.08°)
OKLaboklab(68.13% 0.0311 -0.0883)
OKLCHoklch(68.13% 0.094 289.4)
XYZxyz(33.8446, 30.7286, 63.1675)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FCF #C7CF8F
analogous
#8FA7CF #978FCF #B78FCF
triadic
#978FCF #CF978F #8FCF97
tetradic
#978FCF #CF8FA7 #C7CF8F #8FCFB7
square
#978FCF #CF8FA7 #C7CF8F #8FCFB7
split-complementary
#978FCF #CFB78F #A7CF8F
monochromatic
#50449F #6F64BD #978FCF #BFBAE1 #E7E5F4

Accessibility & contrast

On white

2.94
#978FCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#978FCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FCF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FCF#FFFFFF#000000##000000
##978FCF1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E98D2
Deuteranopia (green-blind)
#7E95CD
Tritanopia (blue-blind)
#8A9AA6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #978fcf;
/* rgb */ color: rgb(151, 143, 207);
/* oklch */ color: oklch(68.1% 0.094 289.4);
Tailwind
colors: {
  custom: {
    50: '#b7afde',
    500: '#978fcf',
    950: '#000000',
  },
}
SCSS
$custom: #978fcf;
$custom-light: #b7afde;
$custom-dark: #000000;
JSON
{
  "hex": "#978fcf",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 207
  },
  "hsl": {
    "h": 247.5,
    "s": 40,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68132,
    "c": 0.09357,
    "h": 289.4
  },
  "luminance": 0.30729
}

Semantic roles & 50–950 ramp

primary
#978FCF
secondary
#E4E6D3
accent
#B332A3
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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