#978BF3#978BF3

#978BF3 is a light, vivid blue. Relative luminance 0.315; OKLCH L 69.2% C 0.150 H 287.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#978BF3
RGBrgb(151, 139, 243)
HSLhsl(247, 81%, 75%)
HSVhsv(247, 43%, 95%)
CMYKcmyk(37.9%, 42.8%, 0%, 4.7%)
CIE-LABlab(62.94, 28.63, -50.79)
CIE-LCHlch(62.94, 58.30, 299.41°)
OKLaboklab(69.18% 0.044 -0.1431)
OKLCHoklch(69.18% 0.15 287.1)
XYZxyz(38.1683, 31.5144, 88.8485)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BF3 #E7F38B
analogous
#8BB3F3 #978BF3 #CB8BF3
triadic
#978BF3 #F3978B #8BF397
tetradic
#978BF3 #F38BB3 #E7F38B #8BF3CB
square
#978BF3 #F38BB3 #E7F38B #8BF3CB
split-complementary
#978BF3 #F3CB8B #B3F38B
monochromatic
#341CE8 #6554ED #978BF3 #C9C2F9 #E6E3FC

Accessibility & contrast

On white

2.88
#978BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#978BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BF3
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BF3#FFFFFF#000000##000000
##978BF31.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF7
Deuteranopia (green-blind)
#6696F1
Tritanopia (blue-blind)
#7E9FB3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978bf3;
/* rgb */ color: rgb(151, 139, 243);
/* oklch */ color: oklch(69.2% 0.150 287.1);
Tailwind
colors: {
  custom: {
    50: '#b9adf7',
    500: '#978bf3',
    950: '#000000',
  },
}
SCSS
$custom: #978bf3;
$custom-light: #b9adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#978bf3",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 246.923,
    "s": 81.25,
    "l": 74.902
  },
  "oklch": {
    "l": 0.6918,
    "c": 0.14974,
    "h": 287.1
  },
  "luminance": 0.31516
}

Semantic roles & 50–950 ramp

primary
#978BF3
secondary
#F1F4D7
accent
#DE08C5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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