#978BFA#978BFA

#978BFA is a light, vivid blue. Relative luminance 0.319; OKLCH L 69.6% C 0.159 H 286.4°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#978BFA
RGBrgb(151, 139, 250)
HSLhsl(246, 92%, 76%)
HSVhsv(246, 44%, 98%)
CMYKcmyk(39.6%, 44.4%, 0%, 2%)
CIE-LABlab(63.30, 30.52, -54.07)
CIE-LCHlch(63.30, 62.09, 299.45°)
OKLaboklab(69.57% 0.045 -0.1527)
OKLCHoklch(69.57% 0.159 286.4)
XYZxyz(39.2456, 31.9453, 94.5222)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BFA #EEFA8B
analogous
#8BB7FA #978BFA #CF8BFA
triadic
#978BFA #FA978B #8BFA97
tetradic
#978BFA #FA8BB7 #EEFA8B #8BFACF
square
#978BFA #FA8BB7 #EEFA8B #8BFACF
split-complementary
#978BFA #FACF8B #B7FA8B
monochromatic
#2E16F5 #6250F7 #978BFA #CCC6FD #E5E2FE

Accessibility & contrast

On white

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

On black

7.39
#978BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BFA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BFA#FFFFFF#000000##000000
##978BFA1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#6096F7
Tritanopia (blue-blind)
#7BA1B6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978bfa;
/* rgb */ color: rgb(151, 139, 250);
/* oklch */ color: oklch(69.6% 0.159 286.4);
Tailwind
colors: {
  custom: {
    50: '#baadfc',
    500: '#978bfa',
    950: '#000000',
  },
}
SCSS
$custom: #978bfa;
$custom-light: #baadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#978bfa",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 246.486,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69568,
    "c": 0.15922,
    "h": 286.4
  },
  "luminance": 0.31947
}

Semantic roles & 50–950 ramp

primary
#978BFA
secondary
#F2F6D5
accent
#E600CD
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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