#978FF4#978FF4

#978FF4 is a light, vivid blue. Relative luminance 0.328; OKLCH L 70.0% C 0.145 H 285.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#978FF4
RGBrgb(151, 143, 244)
HSLhsl(245, 82%, 76%)
HSVhsv(245, 41%, 96%)
CMYKcmyk(38.1%, 41.4%, 0%, 4.3%)
CIE-LABlab(63.96, 26.60, -49.72)
CIE-LCHlch(63.96, 56.39, 298.14°)
OKLaboklab(69.97% 0.0391 -0.14)
OKLCHoklch(69.97% 0.145 285.6)
XYZxyz(38.9095, 32.7546, 89.8426)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FF4 #ECF48F
analogous
#8FB9F4 #978FF4 #C98FF4
triadic
#978FF4 #F4978F #8FF497
tetradic
#978FF4 #F48FB9 #ECF48F #8FF4C9
square
#978FF4 #F48FB9 #ECF48F #8FF4C9
split-complementary
#978FF4 #F4C98F #B9F48F
monochromatic
#3020E9 #6357EF #978FF4 #CBC7F9 #E5E3FC

Accessibility & contrast

On white

2.78
#978FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#978FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FF4
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FF4#FFFFFF#000000##000000
##978FF41.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9EF8
Deuteranopia (green-blind)
#6A98F2
Tritanopia (blue-blind)
#7DA3B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #978ff4;
/* rgb */ color: rgb(151, 143, 244);
/* oklch */ color: oklch(70.0% 0.145 285.6);
Tailwind
colors: {
  custom: {
    50: '#b9aff8',
    500: '#978ff4',
    950: '#000000',
  },
}
SCSS
$custom: #978ff4;
$custom-light: #b9aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#978ff4",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 244
  },
  "hsl": {
    "h": 244.752,
    "s": 82.114,
    "l": 75.882
  },
  "oklch": {
    "l": 0.69972,
    "c": 0.14537,
    "h": 285.6
  },
  "luminance": 0.32756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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