#978FF5#978FF5

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

Color values

HEX#978FF5
RGBrgb(151, 143, 245)
HSLhsl(245, 84%, 76%)
HSVhsv(245, 42%, 96%)
CMYKcmyk(38.4%, 41.6%, 0%, 3.9%)
CIE-LABlab(64.01, 26.87, -50.19)
CIE-LCHlch(64.01, 56.93, 298.16°)
OKLaboklab(70.03% 0.0393 -0.1414)
OKLCHoklch(70.03% 0.147 285.5)
XYZxyz(39.0618, 32.8155, 90.6444)
Luminance0.3282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FF5 #EDF58F
analogous
#8FBAF5 #978FF5 #CA8FF5
triadic
#978FF5 #F5978F #8FF597
tetradic
#978FF5 #F58FBA #EDF58F #8FF5CA
square
#978FF5 #F58FBA #EDF58F #8FF5CA
split-complementary
#978FF5 #F5CA8F #BAF58F
monochromatic
#2F1FEB #6357F0 #978FF5 #CBC7FA #E5E3FC

Accessibility & contrast

On white

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

On black

7.56
#978FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FF5
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FF5#FFFFFF#000000##000000
##978FF51.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9EF9
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#7DA3B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #978ff5;
/* rgb */ color: rgb(151, 143, 245);
/* oklch */ color: oklch(70.0% 0.147 285.5);
Tailwind
colors: {
  custom: {
    50: '#b9aff9',
    500: '#978ff5',
    950: '#000000',
  },
}
SCSS
$custom: #978ff5;
$custom-light: #b9aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#978ff5",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 244.706,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70026,
    "c": 0.14674,
    "h": 285.5
  },
  "luminance": 0.32817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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