#978DEB#978DEB

#978DEB is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.1% C 0.136 H 287.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#978DEB
RGBrgb(151, 141, 235)
HSLhsl(246, 70%, 74%)
HSVhsv(246, 40%, 92%)
CMYKcmyk(35.7%, 40%, 0%, 7.8%)
CIE-LABlab(63.03, 25.34, -46.23)
CIE-LCHlch(63.03, 52.72, 298.73°)
OKLaboklab(69.12% 0.0401 -0.1298)
OKLCHoklch(69.12% 0.136 287.2)
XYZxyz(37.2787, 31.6261, 82.7215)
Luminance0.3163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DEB #E1EB8D
analogous
#8DB2EB #978DEB #C68DEB
triadic
#978DEB #EB978D #8DEB97
tetradic
#978DEB #EB8DB2 #E1EB8D #8DEBC6
square
#978DEB #EB8DB2 #E1EB8D #8DEBC6
split-complementary
#978DEB #EBC68D #B2EB8D
monochromatic
#3926D8 #6759E2 #978DEB #C6C1F4 #E7E5FA

Accessibility & contrast

On white

2.87
#978DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#978DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DEB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DEB#FFFFFF#000000##000000
##978DEB1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#819FB1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978deb;
/* rgb */ color: rgb(151, 141, 235);
/* oklch */ color: oklch(69.1% 0.136 287.2);
Tailwind
colors: {
  custom: {
    50: '#b8aef2',
    500: '#978deb',
    950: '#000000',
  },
}
SCSS
$custom: #978deb;
$custom-light: #b8aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#978deb",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 246.383,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69122,
    "c": 0.13589,
    "h": 287.2
  },
  "luminance": 0.31627
}

Semantic roles & 50–950 ramp

primary
#978DEB
secondary
#EFF2D9
accent
#D213BE
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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