#978AEA#978AEA

#978AEA is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.5% C 0.139 H 288.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#978AEA
RGBrgb(151, 138, 234)
HSLhsl(248, 70%, 73%)
HSVhsv(248, 41%, 92%)
CMYKcmyk(35.5%, 41%, 0%, 8.2%)
CIE-LABlab(62.25, 26.80, -46.91)
CIE-LCHlch(62.25, 54.03, 299.74°)
OKLaboklab(68.51% 0.0438 -0.1318)
OKLCHoklch(68.51% 0.139 288.4)
XYZxyz(36.6983, 30.6958, 81.8173)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978AEA #DDEA8A
analogous
#8AADEA #978AEA #C78AEA
triadic
#978AEA #EA978A #8AEA97
tetradic
#978AEA #EA8AAD #DDEA8A #8AEAC7
square
#978AEA #EA8AAD #DDEA8A #8AEAC7
split-complementary
#978AEA #EAC78A #ADEA8A
monochromatic
#3D26D4 #6956E1 #978AEA #C5BEF3 #E8E5FA

Accessibility & contrast

On white

2.94
#978AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#978AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978AEA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978AEA#FFFFFF#000000##000000
##978AEA1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EE
Deuteranopia (green-blind)
#6A94E8
Tritanopia (blue-blind)
#829CAF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #978aea;
/* rgb */ color: rgb(151, 138, 234);
/* oklch */ color: oklch(68.5% 0.139 288.4);
Tailwind
colors: {
  custom: {
    50: '#b8acf1',
    500: '#978aea',
    950: '#000000',
  },
}
SCSS
$custom: #978aea;
$custom-light: #b8acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#978aea",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 248.125,
    "s": 69.565,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68511,
    "c": 0.13892,
    "h": 288.4
  },
  "luminance": 0.30697
}

Semantic roles & 50–950 ramp

primary
#978AEA
secondary
#EFF2D9
accent
#D214B8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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