#978BFC#978BFC

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

Color values

HEX#978BFC
RGBrgb(151, 139, 252)
HSLhsl(246, 95%, 77%)
HSVhsv(246, 45%, 99%)
CMYKcmyk(40.1%, 44.8%, 0%, 1.2%)
CIE-LABlab(63.40, 31.07, -55.00)
CIE-LCHlch(63.40, 63.17, 299.46°)
OKLaboklab(69.68% 0.0453 -0.1554)
OKLCHoklch(69.68% 0.162 286.3)
XYZxyz(39.5608, 32.0714, 96.1826)
Luminance0.3207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BFC #F0FC8B
analogous
#8BB8FC #978BFC #D08BFC
triadic
#978BFC #FC978B #8BFC97
tetradic
#978BFC #FC8BB8 #F0FC8B #8BFCD0
square
#978BFC #FC8BB8 #F0FC8B #8BFCD0
split-complementary
#978BFC #FCD08B #B8FC8B
monochromatic
#2C14F9 #624FFA #978BFC #CCC7FE #E4E1FE

Accessibility & contrast

On white

2.83
#978BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#978BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978BFC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BFC#FFFFFF#000000##000000
##978BFC1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#7AA2B7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978bfc;
/* rgb */ color: rgb(151, 139, 252);
/* oklch */ color: oklch(69.7% 0.162 286.3);
Tailwind
colors: {
  custom: {
    50: '#baadfe',
    500: '#978bfc',
    950: '#000000',
  },
}
SCSS
$custom: #978bfc;
$custom-light: #baadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#978bfc",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 246.372,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.6968,
    "c": 0.16191,
    "h": 286.3
  },
  "luminance": 0.32073
}

Semantic roles & 50–950 ramp

primary
#978BFC
secondary
#F3F6D5
accent
#E600CD
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #978BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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