#978FF7#978FF7

#978FF7 is a light, vivid blue. Relative luminance 0.329; OKLCH L 70.1% C 0.149 H 285.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#978FF7
RGBrgb(151, 143, 247)
HSLhsl(245, 87%, 76%)
HSVhsv(245, 42%, 97%)
CMYKcmyk(38.9%, 42.1%, 0%, 3.1%)
CIE-LABlab(64.11, 27.41, -51.13)
CIE-LCHlch(64.11, 58.02, 298.19°)
OKLaboklab(70.13% 0.0396 -0.1441)
OKLCHoklch(70.13% 0.149 285.4)
XYZxyz(39.3687, 32.9382, 92.2611)
Luminance0.3294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FF7 #EFF78F
analogous
#8FBBF7 #978FF7 #CB8FF7
triadic
#978FF7 #F7978F #8FF797
tetradic
#978FF7 #F78FBB #EFF78F #8FF7CB
square
#978FF7 #F78FBB #EFF78F #8FF7CB
split-complementary
#978FF7 #F7CB8F #BBF78F
monochromatic
#2D1DEF #6256F3 #978FF7 #CCC8FB #E4E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978FF7#FFFFFF#000000##000000
##978FF71.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)
#6B9EFB
Deuteranopia (green-blind)
#6898F5
Tritanopia (blue-blind)
#7CA3B7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #978ff7;
/* rgb */ color: rgb(151, 143, 247);
/* oklch */ color: oklch(70.1% 0.149 285.4);
Tailwind
colors: {
  custom: {
    50: '#b9affa',
    500: '#978ff7',
    950: '#000000',
  },
}
SCSS
$custom: #978ff7;
$custom-light: #b9affa;
$custom-dark: #000000;
JSON
{
  "hex": "#978ff7",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 244.615,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70134,
    "c": 0.14947,
    "h": 285.4
  },
  "luminance": 0.3294
}

Semantic roles & 50–950 ramp

primary
#978FF7
secondary
#F3F5D6
accent
#E302D2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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