#978CF2#978CF2

#978CF2 is a light, vivid blue. Relative luminance 0.317; OKLCH L 69.3% C 0.147 H 286.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#978CF2
RGBrgb(151, 140, 242)
HSLhsl(246, 80%, 75%)
HSVhsv(246, 42%, 95%)
CMYKcmyk(37.6%, 42.1%, 0%, 5.1%)
CIE-LABlab(63.13, 27.78, -49.94)
CIE-LCHlch(63.13, 57.14, 299.09°)
OKLaboklab(69.31% 0.0426 -0.1406)
OKLCHoklch(69.31% 0.147 286.8)
XYZxyz(38.1632, 31.7451, 88.1038)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CF2 #E7F28C
analogous
#8CB4F2 #978CF2 #CA8CF2
triadic
#978CF2 #F2978C #8CF297
tetradic
#978CF2 #F28CB4 #E7F28C #8CF2CA
square
#978CF2 #F28CB4 #E7F28C #8CF2CA
split-complementary
#978CF2 #F2CA8C #B4F28C
monochromatic
#341EE6 #6555EC #978CF2 #C9C3F8 #E6E4FC

Accessibility & contrast

On white

2.86
#978CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#978CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CF2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CF2#FFFFFF#000000##000000
##978CF21.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF6
Deuteranopia (green-blind)
#6796F0
Tritanopia (blue-blind)
#7EA0B3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978cf2;
/* rgb */ color: rgb(151, 140, 242);
/* oklch */ color: oklch(69.3% 0.147 286.8);
Tailwind
colors: {
  custom: {
    50: '#b9adf7',
    500: '#978cf2',
    950: '#000000',
  },
}
SCSS
$custom: #978cf2;
$custom-light: #b9adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#978cf2",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 246.471,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69309,
    "c": 0.14694,
    "h": 286.8
  },
  "luminance": 0.31746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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