#978CF0#978CF0

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

Color values

HEX#978CF0
RGBrgb(151, 140, 240)
HSLhsl(247, 77%, 75%)
HSVhsv(247, 42%, 94%)
CMYKcmyk(37.1%, 41.7%, 0%, 5.9%)
CIE-LABlab(63.03, 27.25, -48.99)
CIE-LCHlch(63.03, 56.06, 299.08°)
OKLaboklab(69.2% 0.0423 -0.1379)
OKLCHoklch(69.2% 0.144 287)
XYZxyz(37.8644, 31.6256, 86.5305)
Luminance0.3163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CF0 #E5F08C
analogous
#8CB3F0 #978CF0 #C98CF0
triadic
#978CF0 #F0978C #8CF097
tetradic
#978CF0 #F08CB3 #E5F08C #8CF0C9
square
#978CF0 #F08CB3 #E5F08C #8CF0C9
split-complementary
#978CF0 #F0C98C #B3F08C
monochromatic
#3520E2 #6656E9 #978CF0 #C8C2F7 #E7E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978CF0#FFFFFF#000000##000000
##978CF01.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)
#6A9BF4
Deuteranopia (green-blind)
#6996EE
Tritanopia (blue-blind)
#7F9FB2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978cf0;
/* rgb */ color: rgb(151, 140, 240);
/* oklch */ color: oklch(69.2% 0.144 287.0);
Tailwind
colors: {
  custom: {
    50: '#b9adf5',
    500: '#978cf0',
    950: '#000000',
  },
}
SCSS
$custom: #978cf0;
$custom-light: #b9adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#978cf0",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 240
  },
  "hsl": {
    "h": 246.6,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69201,
    "c": 0.14421,
    "h": 287
  },
  "luminance": 0.31627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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