#978DEA#978DEA

#978DEA is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.1% C 0.135 H 287.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#978DEA
RGBrgb(151, 141, 234)
HSLhsl(246, 69%, 74%)
HSVhsv(246, 40%, 92%)
CMYKcmyk(35.5%, 39.7%, 0%, 8.2%)
CIE-LABlab(62.98, 25.07, -45.75)
CIE-LCHlch(62.98, 52.17, 298.72°)
OKLaboklab(69.07% 0.0399 -0.1284)
OKLCHoklch(69.07% 0.135 287.3)
XYZxyz(37.1346, 31.5685, 81.9627)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DEA #E0EA8D
analogous
#8DB1EA #978DEA #C58DEA
triadic
#978DEA #EA978D #8DEA97
tetradic
#978DEA #EA8DB1 #E0EA8D #8DEAC5
square
#978DEA #EA8DB1 #E0EA8D #8DEAC5
split-complementary
#978DEA #EAC58D #B1EA8D
monochromatic
#3A27D5 #6859E0 #978DEA #C6C1F4 #E7E5FA

Accessibility & contrast

On white

2.87
#978DEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#978DEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DEA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DEA#FFFFFF#000000##000000
##978DEA1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEE
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#819FB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978dea;
/* rgb */ color: rgb(151, 141, 234);
/* oklch */ color: oklch(69.1% 0.135 287.3);
Tailwind
colors: {
  custom: {
    50: '#b8aef1',
    500: '#978dea',
    950: '#000000',
  },
}
SCSS
$custom: #978dea;
$custom-light: #b8aef1;
$custom-dark: #000000;
JSON
{
  "hex": "#978dea",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 234
  },
  "hsl": {
    "h": 246.452,
    "s": 68.889,
    "l": 73.529
  },
  "oklch": {
    "l": 0.6907,
    "c": 0.1345,
    "h": 287.3
  },
  "luminance": 0.3157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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