#978CCF#978CCF

#978CCF is a light, moderate blue. Relative luminance 0.298; OKLCH L 67.5% C 0.098 H 291.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#978CCF
RGBrgb(151, 140, 207)
HSLhsl(250, 41%, 68%)
HSVhsv(250, 32%, 81%)
CMYKcmyk(27.1%, 32.4%, 0%, 18.8%)
CIE-LABlab(61.52, 18.72, -33.03)
CIE-LCHlch(61.52, 37.96, 299.54°)
OKLaboklab(67.55% 0.0353 -0.0916)
OKLCHoklch(67.55% 0.098 291.1)
XYZxyz(33.4003, 29.8399, 63.0194)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CCF #C4CF8C
analogous
#8CA2CF #978CCF #B88CCF
triadic
#978CCF #CF978C #8CCF97
tetradic
#978CCF #CF8CA2 #C4CF8C #8CCFB8
square
#978CCF #CF8CA2 #C4CF8C #8CCFB8
split-complementary
#978CCF #CFB88C #A2CF8C
monochromatic
#51429E #7061BD #978CCF #BEB7E1 #E5E2F3

Accessibility & contrast

On white

3.01
#978CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#978CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978CCF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CCF#FFFFFF#000000##000000
##978CCF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A96D2
Deuteranopia (green-blind)
#7B93CD
Tritanopia (blue-blind)
#8B98A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #978ccf;
/* rgb */ color: rgb(151, 140, 207);
/* oklch */ color: oklch(67.5% 0.098 291.1);
Tailwind
colors: {
  custom: {
    50: '#b7adde',
    500: '#978ccf',
    950: '#000000',
  },
}
SCSS
$custom: #978ccf;
$custom-light: #b7adde;
$custom-dark: #000000;
JSON
{
  "hex": "#978ccf",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 207
  },
  "hsl": {
    "h": 249.851,
    "s": 41.104,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67546,
    "c": 0.09821,
    "h": 291.1
  },
  "luminance": 0.2984
}

Semantic roles & 50–950 ramp

primary
#978CCF
secondary
#E2E6D1
accent
#B4319F
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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