#978CF4#978CF4

#978CF4 is a light, vivid blue. Relative luminance 0.319; OKLCH L 69.4% C 0.150 H 286.7°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#978CF4
RGBrgb(151, 140, 244)
HSLhsl(246, 83%, 75%)
HSVhsv(246, 43%, 96%)
CMYKcmyk(38.1%, 42.6%, 0%, 4.3%)
CIE-LABlab(63.23, 28.32, -50.88)
CIE-LCHlch(63.23, 58.23, 299.10°)
OKLaboklab(69.42% 0.0429 -0.1434)
OKLCHoklch(69.42% 0.15 286.7)
XYZxyz(38.4652, 31.8659, 89.6945)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CF4 #E9F48C
analogous
#8CB5F4 #978CF4 #CB8CF4
triadic
#978CF4 #F4978C #8CF497
tetradic
#978CF4 #F48CB5 #E9F48C #8CF4CB
square
#978CF4 #F48CB5 #E9F48C #8CF4CB
split-complementary
#978CF4 #F4CB8C #B5F48C
monochromatic
#321CE9 #6454EF #978CF4 #CAC4F9 #E6E3FC

Accessibility & contrast

On white

2.85
#978CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#978CF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CF4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CF4#FFFFFF#000000##000000
##978CF41.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689CF8
Deuteranopia (green-blind)
#6696F2
Tritanopia (blue-blind)
#7DA0B4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978cf4;
/* rgb */ color: rgb(151, 140, 244);
/* oklch */ color: oklch(69.4% 0.150 286.7);
Tailwind
colors: {
  custom: {
    50: '#b9adf8',
    500: '#978cf4',
    950: '#000000',
  },
}
SCSS
$custom: #978cf4;
$custom-light: #b9adf8;
$custom-dark: #000000;
JSON
{
  "hex": "#978cf4",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 244
  },
  "hsl": {
    "h": 246.346,
    "s": 82.54,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69418,
    "c": 0.14967,
    "h": 286.7
  },
  "luminance": 0.31867
}

Semantic roles & 50–950 ramp

primary
#978CF4
secondary
#F1F4D7
accent
#DF07C8
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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