#978FE2#978FE2

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

Color values

HEX#978FE2
RGBrgb(151, 143, 226)
HSLhsl(246, 59%, 72%)
HSVhsv(246, 37%, 89%)
CMYKcmyk(33.2%, 36.7%, 0%, 11.4%)
CIE-LABlab(63.11, 21.82, -41.13)
CIE-LCHlch(63.11, 46.56, 297.94°)
OKLaboklab(69.04% 0.0356 -0.115)
OKLCHoklch(69.04% 0.12 287.2)
XYZxyz(36.3088, 31.7143, 76.1452)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FE2 #DAE28F
analogous
#8FB1E2 #978FE2 #C08FE2
triadic
#978FE2 #E2978F #8FE297
tetradic
#978FE2 #E28FB1 #DAE28F #8FE2C0
square
#978FE2 #E28FB1 #DAE28F #8FE2C0
split-complementary
#978FE2 #E2C08F #B1E28F
monochromatic
#4133C4 #6A5ED5 #978FE2 #C4C0EF #E8E7F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978FE2#FFFFFF#000000##000000
##978FE21.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)
#769BE5
Deuteranopia (green-blind)
#7597E0
Tritanopia (blue-blind)
#849EAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978fe2;
/* rgb */ color: rgb(151, 143, 226);
/* oklch */ color: oklch(69.0% 0.120 287.2);
Tailwind
colors: {
  custom: {
    50: '#b8afeb',
    500: '#978fe2',
    950: '#000000',
  },
}
SCSS
$custom: #978fe2;
$custom-light: #b8afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#978fe2",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 226
  },
  "hsl": {
    "h": 245.783,
    "s": 58.865,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6904,
    "c": 0.12043,
    "h": 287.2
  },
  "luminance": 0.31715
}

Semantic roles & 50–950 ramp

primary
#978FE2
secondary
#EEF0DB
accent
#C61FB6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #978FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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