#978DF0#978DF0

#978DF0 is a light, vivid blue. Relative luminance 0.319; OKLCH L 69.4% C 0.143 H 286.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#978DF0
RGBrgb(151, 141, 240)
HSLhsl(246, 77%, 75%)
HSVhsv(246, 41%, 94%)
CMYKcmyk(37.1%, 41.3%, 0%, 5.9%)
CIE-LABlab(63.28, 26.67, -48.61)
CIE-LCHlch(63.28, 55.44, 298.76°)
OKLaboklab(69.39% 0.041 -0.1368)
OKLCHoklch(69.39% 0.143 286.7)
XYZxyz(38.0112, 31.9191, 86.5794)
Luminance0.3192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DF0 #E6F08D
analogous
#8DB4F0 #978DF0 #C98DF0
triadic
#978DF0 #F0978D #8DF097
tetradic
#978DF0 #F08DB4 #E6F08D #8DF0C9
square
#978DF0 #F08DB4 #E6F08D #8DF0C9
split-complementary
#978DF0 #F0C98D #B4F08D
monochromatic
#3421E2 #6657E9 #978DF0 #C8C3F7 #E6E4FB

Accessibility & contrast

On white

2.84
#978DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#978DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DF0
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DF0#FFFFFF#000000##000000
##978DF01.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF4
Deuteranopia (green-blind)
#6A96EE
Tritanopia (blue-blind)
#7FA0B3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978df0;
/* rgb */ color: rgb(151, 141, 240);
/* oklch */ color: oklch(69.4% 0.143 286.7);
Tailwind
colors: {
  custom: {
    50: '#b9aef5',
    500: '#978df0',
    950: '#000000',
  },
}
SCSS
$custom: #978df0;
$custom-light: #b9aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#978df0",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 240
  },
  "hsl": {
    "h": 246.061,
    "s": 76.744,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69387,
    "c": 0.14276,
    "h": 286.7
  },
  "luminance": 0.3192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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