#978FF1#978FF1

#978FF1 is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.8% C 0.141 H 285.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#978FF1
RGBrgb(151, 143, 241)
HSLhsl(245, 78%, 75%)
HSVhsv(245, 41%, 95%)
CMYKcmyk(37.3%, 40.7%, 0%, 5.5%)
CIE-LABlab(63.81, 25.79, -48.31)
CIE-LCHlch(63.81, 54.76, 298.10°)
OKLaboklab(69.81% 0.0386 -0.1359)
OKLCHoklch(69.81% 0.141 285.9)
XYZxyz(38.4577, 32.5738, 87.4631)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FF1 #E9F18F
analogous
#8FB8F1 #978FF1 #C88FF1
triadic
#978FF1 #F1978F #8FF197
tetradic
#978FF1 #F18FB8 #E9F18F #8FF1C8
square
#978FF1 #F18FB8 #E9F18F #8FF1C8
split-complementary
#978FF1 #F1C88F #B8F18F
monochromatic
#3222E3 #6459EA #978FF1 #CAC5F8 #E6E4FC

Accessibility & contrast

On white

2.79
#978FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#978FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FF1
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FF1#FFFFFF#000000##000000
##978FF11.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9DF5
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#7EA2B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #978ff1;
/* rgb */ color: rgb(151, 143, 241);
/* oklch */ color: oklch(69.8% 0.141 285.9);
Tailwind
colors: {
  custom: {
    50: '#b9aff6',
    500: '#978ff1',
    950: '#000000',
  },
}
SCSS
$custom: #978ff1;
$custom-light: #b9aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#978ff1",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 241
  },
  "hsl": {
    "h": 244.898,
    "s": 77.778,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69812,
    "c": 0.14125,
    "h": 285.9
  },
  "luminance": 0.32575
}

Semantic roles & 50–950 ramp

primary
#978FF1
secondary
#F1F3D8
accent
#DA0BC9
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #978FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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