#978DF2#978DF2

#978DF2 is a light, vivid blue. Relative luminance 0.320; OKLCH L 69.5% C 0.145 H 286.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#978DF2
RGBrgb(151, 141, 242)
HSLhsl(246, 80%, 75%)
HSVhsv(246, 42%, 95%)
CMYKcmyk(37.6%, 41.7%, 0%, 5.1%)
CIE-LABlab(63.37, 27.21, -49.55)
CIE-LCHlch(63.37, 56.53, 298.77°)
OKLaboklab(69.49% 0.0413 -0.1395)
OKLCHoklch(69.49% 0.146 286.5)
XYZxyz(38.3099, 32.0386, 88.1528)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DF2 #E8F28D
analogous
#8DB5F2 #978DF2 #CA8DF2
triadic
#978DF2 #F2978D #8DF297
tetradic
#978DF2 #F28DB5 #E8F28D #8DF2CA
square
#978DF2 #F28DB5 #E8F28D #8DF2CA
split-complementary
#978DF2 #F2CA8D #B5F28D
monochromatic
#331FE5 #6556EC #978DF2 #C9C4F8 #E6E4FC

Accessibility & contrast

On white

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

On black

7.41
#978DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978DF2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DF2#FFFFFF#000000##000000
##978DF21.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9CF6
Deuteranopia (green-blind)
#6997F0
Tritanopia (blue-blind)
#7EA1B4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978df2;
/* rgb */ color: rgb(151, 141, 242);
/* oklch */ color: oklch(69.5% 0.145 286.5);
Tailwind
colors: {
  custom: {
    50: '#b9aef7',
    500: '#978df2',
    950: '#000000',
  },
}
SCSS
$custom: #978df2;
$custom-light: #b9aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#978df2",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 245.941,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69494,
    "c": 0.1455,
    "h": 286.5
  },
  "luminance": 0.3204
}

Semantic roles & 50–950 ramp

primary
#978DF2
secondary
#F1F4D7
accent
#DC0AC7
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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