#978FEB#978FEB

#978FEB is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.5% C 0.133 H 286.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#978FEB
RGBrgb(151, 143, 235)
HSLhsl(245, 70%, 74%)
HSVhsv(245, 39%, 92%)
CMYKcmyk(35.7%, 39.1%, 0%, 7.8%)
CIE-LABlab(63.53, 24.19, -45.45)
CIE-LCHlch(63.53, 51.49, 298.02°)
OKLaboklab(69.5% 0.0375 -0.1276)
OKLCHoklch(69.5% 0.133 286.4)
XYZxyz(37.5763, 32.2213, 82.8207)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FEB #E3EB8F
analogous
#8FB5EB #978FEB #C58FEB
triadic
#978FEB #EB978F #8FEB97
tetradic
#978FEB #EB8FB5 #E3EB8F #8FEBC5
square
#978FEB #EB8FB5 #E3EB8F #8FEBC5
split-complementary
#978FEB #EBC58F #B5EB8F
monochromatic
#3727D8 #675BE2 #978FEB #C7C3F4 #E7E5FA

Accessibility & contrast

On white

2.82
#978FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#978FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FEB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FEB#FFFFFF#000000##000000
##978FEB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#7097E9
Tritanopia (blue-blind)
#81A1B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978feb;
/* rgb */ color: rgb(151, 143, 235);
/* oklch */ color: oklch(69.5% 0.133 286.4);
Tailwind
colors: {
  custom: {
    50: '#b8aff2',
    500: '#978feb',
    950: '#000000',
  },
}
SCSS
$custom: #978feb;
$custom-light: #b8aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#978feb",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 245.217,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69497,
    "c": 0.13297,
    "h": 286.4
  },
  "luminance": 0.32222
}

Semantic roles & 50–950 ramp

primary
#978FEB
secondary
#F0F2D9
accent
#D214C1
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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