#978FEF#978FEF

#978FEF is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.7% C 0.139 H 286.0°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#978FEF
RGBrgb(151, 143, 239)
HSLhsl(245, 75%, 75%)
HSVhsv(245, 40%, 94%)
CMYKcmyk(36.8%, 40.2%, 0%, 6.3%)
CIE-LABlab(63.72, 25.25, -47.36)
CIE-LCHlch(63.72, 53.67, 298.07°)
OKLaboklab(69.71% 0.0382 -0.1331)
OKLCHoklch(69.71% 0.139 286)
XYZxyz(38.1606, 32.4550, 85.8984)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FEF #E7EF8F
analogous
#8FB7EF #978FEF #C78FEF
triadic
#978FEF #EF978F #8FEF97
tetradic
#978FEF #EF8FB7 #E7EF8F #8FEFC7
square
#978FEF #EF8FB7 #E7EF8F #8FEFC7
split-complementary
#978FEF #EFC78F #B7EF8F
monochromatic
#3424E0 #6559E7 #978FEF #C9C5F7 #E6E4FB

Accessibility & contrast

On white

2.80
#978FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#978FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FEF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FEF#FFFFFF#000000##000000
##978FEF1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#6D98ED
Tritanopia (blue-blind)
#7FA1B4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978fef;
/* rgb */ color: rgb(151, 143, 239);
/* oklch */ color: oklch(69.7% 0.139 286.0);
Tailwind
colors: {
  custom: {
    50: '#b9aff4',
    500: '#978fef',
    950: '#000000',
  },
}
SCSS
$custom: #978fef;
$custom-light: #b9aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#978fef",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 245,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69706,
    "c": 0.1385,
    "h": 286
  },
  "luminance": 0.32456
}

Semantic roles & 50–950 ramp

primary
#978FEF
secondary
#F1F3D8
accent
#D70EC6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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