#978DF5#978DF5

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

Color values

HEX#978DF5
RGBrgb(151, 141, 245)
HSLhsl(246, 84%, 76%)
HSVhsv(246, 42%, 96%)
CMYKcmyk(38.4%, 42.4%, 0%, 3.9%)
CIE-LABlab(63.52, 28.02, -50.96)
CIE-LCHlch(63.52, 58.16, 298.80°)
OKLaboklab(69.66% 0.0418 -0.1436)
OKLCHoklch(69.66% 0.15 286.2)
XYZxyz(38.7642, 32.2203, 90.5452)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DF5 #EBF58D
analogous
#8DB7F5 #978DF5 #CB8DF5
triadic
#978DF5 #F5978D #8DF597
tetradic
#978DF5 #F58DB7 #EBF58D #8DF5CB
square
#978DF5 #F58DB7 #EBF58D #8DF5CB
split-complementary
#978DF5 #F5CB8D #B7F58D
monochromatic
#301CEB #6455F0 #978DF5 #CAC5FA #E5E3FD

Accessibility & contrast

On white

2.82
#978DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#978DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DF5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DF5#FFFFFF#000000##000000
##978DF51.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DF9
Deuteranopia (green-blind)
#6797F3
Tritanopia (blue-blind)
#7DA1B5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978df5;
/* rgb */ color: rgb(151, 141, 245);
/* oklch */ color: oklch(69.7% 0.150 286.2);
Tailwind
colors: {
  custom: {
    50: '#b9aef9',
    500: '#978df5',
    950: '#000000',
  },
}
SCSS
$custom: #978df5;
$custom-light: #b9aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#978df5",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 245.769,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69656,
    "c": 0.1496,
    "h": 286.2
  },
  "luminance": 0.32222
}

Semantic roles & 50–950 ramp

primary
#978DF5
secondary
#F2F4D7
accent
#E005CB
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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