#978AFF#978AFF

#978AFF is a light, vivid blue. Relative luminance 0.320; OKLCH L 69.7% C 0.167 H 286.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#978AFF
RGBrgb(151, 138, 255)
HSLhsl(247, 100%, 77%)
HSVhsv(247, 46%, 100%)
CMYKcmyk(40.8%, 45.9%, 0%, 0%)
CIE-LABlab(63.32, 32.46, -56.77)
CIE-LCHlch(63.32, 65.40, 299.76°)
OKLaboklab(69.67% 0.0469 -0.1606)
OKLCHoklch(69.67% 0.167 286.3)
XYZxyz(39.8959, 31.9748, 98.6580)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978AFF #F2FF8A
analogous
#8AB7FF #978AFF #D28AFF
triadic
#978AFF #FF978A #8AFF97
tetradic
#978AFF #FF8AB7 #F2FF8A #8AFFD2
square
#978AFF #FF8AB7 #F2FF8A #8AFFD2
split-complementary
#978AFF #FFD28A #B7FF8A
monochromatic
#2A10FF #614DFF #978AFF #CDC7FF #E4E0FF

Accessibility & contrast

On white

2.84
#978AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#978AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978AFF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978AFF#FFFFFF#000000##000000
##978AFF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#5B96FC
Tritanopia (blue-blind)
#79A2B8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978aff;
/* rgb */ color: rgb(151, 138, 255);
/* oklch */ color: oklch(69.7% 0.167 286.3);
Tailwind
colors: {
  custom: {
    50: '#baacff',
    500: '#978aff',
    950: '#000000',
  },
}
SCSS
$custom: #978aff;
$custom-light: #baacff;
$custom-dark: #000000;
JSON
{
  "hex": "#978aff",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 246.667,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.69671,
    "c": 0.16733,
    "h": 286.3
  },
  "luminance": 0.31976
}

Semantic roles & 50–950 ramp

primary
#978AFF
secondary
#F3F7D4
accent
#E600CC
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #978AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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