#978CF1#978CF1

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

Color values

HEX#978CF1
RGBrgb(151, 140, 241)
HSLhsl(247, 78%, 75%)
HSVhsv(247, 42%, 95%)
CMYKcmyk(37.3%, 41.9%, 0%, 5.5%)
CIE-LABlab(63.08, 27.52, -49.46)
CIE-LCHlch(63.08, 56.60, 299.09°)
OKLaboklab(69.26% 0.0424 -0.1393)
OKLCHoklch(69.26% 0.146 286.9)
XYZxyz(38.0134, 31.6852, 87.3150)
Luminance0.3169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CF1 #E6F18C
analogous
#8CB3F1 #978CF1 #CA8CF1
triadic
#978CF1 #F1978C #8CF197
tetradic
#978CF1 #F18CB3 #E6F18C #8CF1CA
square
#978CF1 #F18CB3 #E6F18C #8CF1CA
split-complementary
#978CF1 #F1CA8C #B3F18C
monochromatic
#341FE4 #6655EA #978CF1 #C8C3F8 #E6E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978CF1#FFFFFF#000000##000000
##978CF11.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)
#6A9BF5
Deuteranopia (green-blind)
#6896EF
Tritanopia (blue-blind)
#7FA0B3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978cf1;
/* rgb */ color: rgb(151, 140, 241);
/* oklch */ color: oklch(69.3% 0.146 286.9);
Tailwind
colors: {
  custom: {
    50: '#b9adf6',
    500: '#978cf1',
    950: '#000000',
  },
}
SCSS
$custom: #978cf1;
$custom-light: #b9adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#978cf1",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 241
  },
  "hsl": {
    "h": 246.535,
    "s": 78.295,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69255,
    "c": 0.14558,
    "h": 286.9
  },
  "luminance": 0.31686
}

Semantic roles & 50–950 ramp

primary
#978CF1
secondary
#F0F3D8
accent
#DB0BC4
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #978CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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