#978EE3#978EE3

#978EE3 is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.9% C 0.123 H 287.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#978EE3
RGBrgb(151, 142, 227)
HSLhsl(246, 60%, 72%)
HSVhsv(246, 37%, 89%)
CMYKcmyk(33.5%, 37.4%, 0%, 11%)
CIE-LABlab(62.90, 22.66, -42.01)
CIE-LCHlch(62.90, 47.73, 298.34°)
OKLaboklab(68.9% 0.0372 -0.1176)
OKLCHoklch(68.9% 0.123 287.6)
XYZxyz(36.2969, 31.4704, 76.8202)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EE3 #DAE38E
analogous
#8EB0E3 #978EE3 #C28EE3
triadic
#978EE3 #E3978E #8EE397
tetradic
#978EE3 #E38EB0 #DAE38E #8EE3C2
square
#978EE3 #E38EB0 #DAE38E #8EE3C2
split-complementary
#978EE3 #E3C28E #B0E38E
monochromatic
#4131C6 #6A5DD7 #978EE3 #C4BFEF #E8E6F9

Accessibility & contrast

On white

2.88
#978EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#978EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978EE3
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EE3#FFFFFF#000000##000000
##978EE31.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#749AE6
Deuteranopia (green-blind)
#7396E1
Tritanopia (blue-blind)
#849EAE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978ee3;
/* rgb */ color: rgb(151, 142, 227);
/* oklch */ color: oklch(68.9% 0.123 287.6);
Tailwind
colors: {
  custom: {
    50: '#b8afec',
    500: '#978ee3',
    950: '#000000',
  },
}
SCSS
$custom: #978ee3;
$custom-light: #b8afec;
$custom-dark: #000000;
JSON
{
  "hex": "#978ee3",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 227
  },
  "hsl": {
    "h": 246.353,
    "s": 60.284,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68899,
    "c": 0.12331,
    "h": 287.6
  },
  "luminance": 0.31471
}

Semantic roles & 50–950 ramp

primary
#978EE3
secondary
#EEF0DB
accent
#C81EB6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #978EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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