#978BF6#978BF6

#978BF6 is a light, vivid blue. Relative luminance 0.317; OKLCH L 69.3% C 0.154 H 286.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#978BF6
RGBrgb(151, 139, 246)
HSLhsl(247, 86%, 75%)
HSVhsv(247, 43%, 96%)
CMYKcmyk(38.6%, 43.5%, 0%, 3.5%)
CIE-LABlab(63.09, 29.44, -52.20)
CIE-LCHlch(63.09, 59.93, 299.42°)
OKLaboklab(69.35% 0.0445 -0.1472)
OKLCHoklch(69.35% 0.154 286.8)
XYZxyz(38.6250, 31.6971, 91.2540)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BF6 #EAF68B
analogous
#8BB4F6 #978BF6 #CC8BF6
triadic
#978BF6 #F6978B #8BF697
tetradic
#978BF6 #F68BB4 #EAF68B #8BF6CC
square
#978BF6 #F68BB4 #EAF68B #8BF6CC
split-complementary
#978BF6 #F6CC8B #B4F68B
monochromatic
#3119ED #6452F2 #978BF6 #CAC4FA #E6E3FD

Accessibility & contrast

On white

2.86
#978BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#978BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BF6
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BF6#FFFFFF#000000##000000
##978BF61.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BFA
Deuteranopia (green-blind)
#6396F3
Tritanopia (blue-blind)
#7DA0B5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978bf6;
/* rgb */ color: rgb(151, 139, 246);
/* oklch */ color: oklch(69.3% 0.154 286.8);
Tailwind
colors: {
  custom: {
    50: '#b9adf9',
    500: '#978bf6',
    950: '#000000',
  },
}
SCSS
$custom: #978bf6;
$custom-light: #b9adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#978bf6",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 246.729,
    "s": 85.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.69345,
    "c": 0.15382,
    "h": 286.8
  },
  "luminance": 0.31698
}

Semantic roles & 50–950 ramp

primary
#978BF6
secondary
#F1F5D6
accent
#E203C9
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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