#978BFD#978BFD

#978BFD is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.7% C 0.163 H 286.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#978BFD
RGBrgb(151, 139, 253)
HSLhsl(246, 97%, 77%)
HSVhsv(246, 45%, 99%)
CMYKcmyk(40.3%, 45.1%, 0%, 0.8%)
CIE-LABlab(63.45, 31.34, -55.46)
CIE-LCHlch(63.45, 63.71, 299.47°)
OKLaboklab(69.74% 0.0454 -0.1568)
OKLCHoklch(69.74% 0.163 286.2)
XYZxyz(39.7197, 32.1350, 97.0193)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BFD #F1FD8B
analogous
#8BB8FD #978BFD #D08BFD
triadic
#978BFD #FD978B #8BFD97
tetradic
#978BFD #FD8BB8 #F1FD8B #8BFDD0
square
#978BFD #FD8BB8 #F1FD8B #8BFDD0
split-complementary
#978BFD #FDD08B #B8FD8B
monochromatic
#2B13FB #614FFC #978BFD #CDC7FE #E4E1FE

Accessibility & contrast

On white

2.83
#978BFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#978BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BFD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BFD#FFFFFF#000000##000000
##978BFD1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#7AA2B8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978bfd;
/* rgb */ color: rgb(151, 139, 253);
/* oklch */ color: oklch(69.7% 0.163 286.2);
Tailwind
colors: {
  custom: {
    50: '#baadfe',
    500: '#978bfd',
    950: '#000000',
  },
}
SCSS
$custom: #978bfd;
$custom-light: #baadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#978bfd",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 253
  },
  "hsl": {
    "h": 246.316,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.69737,
    "c": 0.16325,
    "h": 286.2
  },
  "luminance": 0.32136
}

Semantic roles & 50–950 ramp

primary
#978BFD
secondary
#F3F7D4
accent
#E600CD
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #978BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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