#978EFC#978EFC

#978EFC is a light, vivid blue. Relative luminance 0.330; OKLCH L 70.2% C 0.158 H 285.3°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#978EFC
RGBrgb(151, 142, 252)
HSLhsl(245, 95%, 77%)
HSVhsv(245, 44%, 99%)
CMYKcmyk(40.1%, 43.7%, 0%, 1.2%)
CIE-LABlab(64.12, 29.34, -53.86)
CIE-LCHlch(64.12, 61.33, 298.58°)
OKLaboklab(70.23% 0.0416 -0.1521)
OKLCHoklch(70.23% 0.158 285.3)
XYZxyz(40.0012, 32.9521, 96.3293)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EFC #F3FC8E
analogous
#8EBCFC #978EFC #CE8EFC
triadic
#978EFC #FC978E #8EFC97
tetradic
#978EFC #FC8EBC #F3FC8E #8EFCCE
square
#978EFC #FC8EBC #F3FC8E #8EFCCE
split-complementary
#978EFC #FCCE8E #BCFC8E
monochromatic
#2917F9 #6052FA #978EFC #CECAFE #E4E1FE

Accessibility & contrast

On white

2.77
#978EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#978EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EFC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EFC#FFFFFF#000000##000000
##978EFC1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#7AA4B9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #978efc;
/* rgb */ color: rgb(151, 142, 252);
/* oklch */ color: oklch(70.2% 0.158 285.3);
Tailwind
colors: {
  custom: {
    50: '#baaffe',
    500: '#978efc',
    950: '#000000',
  },
}
SCSS
$custom: #978efc;
$custom-light: #baaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#978efc",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 244.909,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70225,
    "c": 0.15767,
    "h": 285.3
  },
  "luminance": 0.32954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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