#978BF0#978BF0

#978BF0 is a light, vivid blue. Relative luminance 0.313; OKLCH L 69.0% C 0.146 H 287.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#978BF0
RGBrgb(151, 139, 240)
HSLhsl(247, 77%, 74%)
HSVhsv(247, 42%, 94%)
CMYKcmyk(37.1%, 42.1%, 0%, 5.9%)
CIE-LABlab(62.79, 27.82, -49.38)
CIE-LCHlch(62.79, 56.68, 299.40°)
OKLaboklab(69.02% 0.0435 -0.139)
OKLCHoklch(69.02% 0.146 287.4)
XYZxyz(37.7190, 31.3347, 86.4820)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BF0 #E4F08B
analogous
#8BB2F0 #978BF0 #CA8BF0
triadic
#978BF0 #F0978B #8BF097
tetradic
#978BF0 #F08BB2 #E4F08B #8BF0CA
square
#978BF0 #F08BB2 #E4F08B #8BF0CA
split-complementary
#978BF0 #F0CA8B #B2F08B
monochromatic
#361FE2 #6655E9 #978BF0 #C8C1F7 #E7E4FB

Accessibility & contrast

On white

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

On black

7.27
#978BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BF0
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BF0#FFFFFF#000000##000000
##978BF01.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF4
Deuteranopia (green-blind)
#6895EE
Tritanopia (blue-blind)
#7F9FB2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978bf0;
/* rgb */ color: rgb(151, 139, 240);
/* oklch */ color: oklch(69.0% 0.146 287.4);
Tailwind
colors: {
  custom: {
    50: '#b9adf5',
    500: '#978bf0',
    950: '#000000',
  },
}
SCSS
$custom: #978bf0;
$custom-light: #b9adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#978bf0",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 240
  },
  "hsl": {
    "h": 247.129,
    "s": 77.099,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69017,
    "c": 0.14567,
    "h": 287.4
  },
  "luminance": 0.31336
}

Semantic roles & 50–950 ramp

primary
#978BF0
secondary
#F0F3D8
accent
#D90CC1
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #978BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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