#978FF0#978FF0

#978FF0 is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.8% C 0.140 H 285.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#978FF0
RGBrgb(151, 143, 240)
HSLhsl(245, 76%, 75%)
HSVhsv(245, 40%, 94%)
CMYKcmyk(37.1%, 40.4%, 0%, 5.9%)
CIE-LABlab(63.77, 25.52, -47.83)
CIE-LCHlch(63.77, 54.21, 298.08°)
OKLaboklab(69.76% 0.0384 -0.1345)
OKLCHoklch(69.76% 0.14 285.9)
XYZxyz(38.3088, 32.5143, 86.6786)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FF0 #E8F08F
analogous
#8FB8F0 #978FF0 #C78FF0
triadic
#978FF0 #F0978F #8FF097
tetradic
#978FF0 #F08FB8 #E8F08F #8FF0C7
square
#978FF0 #F08FB8 #E8F08F #8FF0C7
split-complementary
#978FF0 #F0C78F #B8F08F
monochromatic
#3323E2 #6559E9 #978FF0 #C9C5F7 #E6E4FB

Accessibility & contrast

On white

2.80
#978FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#978FF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FF0
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FF0#FFFFFF#000000##000000
##978FF01.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF4
Deuteranopia (green-blind)
#6C98EE
Tritanopia (blue-blind)
#7FA2B4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978ff0;
/* rgb */ color: rgb(151, 143, 240);
/* oklch */ color: oklch(69.8% 0.140 285.9);
Tailwind
colors: {
  custom: {
    50: '#b9aff5',
    500: '#978ff0',
    950: '#000000',
  },
}
SCSS
$custom: #978ff0;
$custom-light: #b9aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#978ff0",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 240
  },
  "hsl": {
    "h": 244.948,
    "s": 76.378,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69759,
    "c": 0.13988,
    "h": 285.9
  },
  "luminance": 0.32516
}

Semantic roles & 50–950 ramp

primary
#978FF0
secondary
#F1F3D8
accent
#D90DC8
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #978FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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