#978FEA#978FEA

#978FEA is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.4% C 0.132 H 286.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#978FEA
RGBrgb(151, 143, 234)
HSLhsl(245, 68%, 74%)
HSVhsv(245, 39%, 92%)
CMYKcmyk(35.5%, 38.9%, 0%, 8.2%)
CIE-LABlab(63.48, 23.92, -44.98)
CIE-LCHlch(63.48, 50.94, 298.01°)
OKLaboklab(69.45% 0.0373 -0.1262)
OKLCHoklch(69.45% 0.132 286.5)
XYZxyz(37.4322, 32.1636, 82.0619)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FEA #E2EA8F
analogous
#8FB5EA #978FEA #C58FEA
triadic
#978FEA #EA978F #8FEA97
tetradic
#978FEA #EA8FB5 #E2EA8F #8FEAC5
square
#978FEA #EA8FB5 #E2EA8F #8FEAC5
split-complementary
#978FEA #EAC58F #B5EA8F
monochromatic
#3828D6 #675BE0 #978FEA #C7C3F4 #E7E5FA

Accessibility & contrast

On white

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

On black

7.43
#978FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FEA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FEA#FFFFFF#000000##000000
##978FEA1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CEE
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#81A0B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978fea;
/* rgb */ color: rgb(151, 143, 234);
/* oklch */ color: oklch(69.4% 0.132 286.5);
Tailwind
colors: {
  custom: {
    50: '#b8aff1',
    500: '#978fea',
    950: '#000000',
  },
}
SCSS
$custom: #978fea;
$custom-light: #b8aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#978fea",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 234
  },
  "hsl": {
    "h": 245.275,
    "s": 68.421,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69446,
    "c": 0.13158,
    "h": 286.5
  },
  "luminance": 0.32165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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