#978FF9#978FF9

#978FF9 is a light, vivid blue. Relative luminance 0.331; OKLCH L 70.2% C 0.152 H 285.2°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#978FF9
RGBrgb(151, 143, 249)
HSLhsl(245, 90%, 77%)
HSVhsv(245, 43%, 98%)
CMYKcmyk(39.4%, 42.6%, 0%, 2.4%)
CIE-LABlab(64.21, 27.95, -52.07)
CIE-LCHlch(64.21, 59.10, 298.23°)
OKLaboklab(70.24% 0.0399 -0.1469)
OKLCHoklch(70.24% 0.152 285.2)
XYZxyz(39.6790, 33.0624, 93.8952)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FF9 #F1F98F
analogous
#8FBCF9 #978FF9 #CC8FF9
triadic
#978FF9 #F9978F #8FF997
tetradic
#978FF9 #F98FBC #F1F98F #8FF9CC
square
#978FF9 #F98FBC #F1F98F #8FF9CC
split-complementary
#978FF9 #F9CC8F #BCF98F
monochromatic
#2B1BF3 #6155F6 #978FF9 #CDC9FC #E4E2FD

Accessibility & contrast

On white

2.76
#978FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#978FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FF9
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FF9#FFFFFF#000000##000000
##978FF91.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFD
Deuteranopia (green-blind)
#6699F7
Tritanopia (blue-blind)
#7BA4B8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #978ff9;
/* rgb */ color: rgb(151, 143, 249);
/* oklch */ color: oklch(70.2% 0.152 285.2);
Tailwind
colors: {
  custom: {
    50: '#b9affc',
    500: '#978ff9',
    950: '#000000',
  },
}
SCSS
$custom: #978ff9;
$custom-light: #b9affc;
$custom-dark: #000000;
JSON
{
  "hex": "#978ff9",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 249
  },
  "hsl": {
    "h": 244.528,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.70243,
    "c": 0.15219,
    "h": 285.2
  },
  "luminance": 0.33064
}

Semantic roles & 50–950 ramp

primary
#978FF9
secondary
#F3F6D5
accent
#E600D4
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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