#978CF3#978CF3

#978CF3 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.4% C 0.148 H 286.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#978CF3
RGBrgb(151, 140, 243)
HSLhsl(246, 81%, 75%)
HSVhsv(246, 42%, 95%)
CMYKcmyk(37.9%, 42.4%, 0%, 4.7%)
CIE-LABlab(63.18, 28.05, -50.41)
CIE-LCHlch(63.18, 57.69, 299.10°)
OKLaboklab(69.36% 0.0427 -0.142)
OKLCHoklch(69.36% 0.148 286.7)
XYZxyz(38.3138, 31.8053, 88.8970)
Luminance0.3181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CF3 #E8F38C
analogous
#8CB4F3 #978CF3 #CB8CF3
triadic
#978CF3 #F3978C #8CF397
tetradic
#978CF3 #F38CB4 #E8F38C #8CF3CB
square
#978CF3 #F38CB4 #E8F38C #8CF3CB
split-complementary
#978CF3 #F3CB8C #B4F38C
monochromatic
#331DE7 #6555ED #978CF3 #C9C3F9 #E6E3FC

Accessibility & contrast

On white

2.85
#978CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#978CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978CF3
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CF3#FFFFFF#000000##000000
##978CF31.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#689CF7
Deuteranopia (green-blind)
#6796F1
Tritanopia (blue-blind)
#7EA0B4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #978cf3;
/* rgb */ color: rgb(151, 140, 243);
/* oklch */ color: oklch(69.4% 0.148 286.7);
Tailwind
colors: {
  custom: {
    50: '#b9adf7',
    500: '#978cf3',
    950: '#000000',
  },
}
SCSS
$custom: #978cf3;
$custom-light: #b9adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#978cf3",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 246.408,
    "s": 81.102,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69364,
    "c": 0.1483,
    "h": 286.7
  },
  "luminance": 0.31807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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