#978EFF#978EFF

#978EFF is a light, vivid blue. Relative luminance 0.331; OKLCH L 70.4% C 0.162 H 285.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#978EFF
RGBrgb(151, 142, 255)
HSLhsl(245, 100%, 78%)
HSVhsv(245, 44%, 100%)
CMYKcmyk(40.8%, 44.3%, 0%, 0%)
CIE-LABlab(64.28, 30.17, -55.25)
CIE-LCHlch(64.28, 62.95, 298.63°)
OKLaboklab(70.39% 0.042 -0.1562)
OKLCHoklch(70.39% 0.162 285.1)
XYZxyz(40.4803, 33.1438, 98.8529)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EFF #F6FF8E
analogous
#8EBDFF #978EFF #D08EFF
triadic
#978EFF #FF978E #8EFF97
tetradic
#978EFF #FF8EBD #F6FF8E #8EFFD0
square
#978EFF #FF8EBD #F6FF8E #8EFFD0
split-complementary
#978EFF #FFD08E #BDFF8E
monochromatic
#2614FF #5F51FF #978EFF #CFCBFF #E3E0FF

Accessibility & contrast

On white

2.75
#978EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#978EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EFF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EFF#FFFFFF#000000##000000
##978EFF1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#6198FC
Tritanopia (blue-blind)
#78A5BA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #978eff;
/* rgb */ color: rgb(151, 142, 255);
/* oklch */ color: oklch(70.4% 0.162 285.1);
Tailwind
colors: {
  custom: {
    50: '#baafff',
    500: '#978eff',
    950: '#000000',
  },
}
SCSS
$custom: #978eff;
$custom-light: #baafff;
$custom-dark: #000000;
JSON
{
  "hex": "#978eff",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 244.779,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.70393,
    "c": 0.16172,
    "h": 285.1
  },
  "luminance": 0.33145
}

Semantic roles & 50–950 ramp

primary
#978EFF
secondary
#F5F7D4
accent
#E600D3
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #978EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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