#978AF3#978AF3

#978AF3 is a light, vivid blue. Relative luminance 0.312; OKLCH L 69.0% C 0.151 H 287.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#978AF3
RGBrgb(151, 138, 243)
HSLhsl(247, 81%, 75%)
HSVhsv(247, 43%, 95%)
CMYKcmyk(37.9%, 43.2%, 0%, 4.7%)
CIE-LABlab(62.70, 29.20, -51.17)
CIE-LCHlch(62.70, 58.92, 299.71°)
OKLaboklab(69% 0.0453 -0.1442)
OKLCHoklch(69% 0.151 287.4)
XYZxyz(38.0242, 31.2261, 88.8005)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978AF3 #E6F38A
analogous
#8AB1F3 #978AF3 #CC8AF3
triadic
#978AF3 #F3978A #8AF397
tetradic
#978AF3 #F38AB1 #E6F38A #8AF3CC
square
#978AF3 #F38AB1 #E6F38A #8AF3CC
split-complementary
#978AF3 #F3CC8A #B1F38A
monochromatic
#341BE8 #6652ED #978AF3 #C8C2F9 #E6E3FC

Accessibility & contrast

On white

2.90
#978AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#978AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978AF3
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978AF3#FFFFFF#000000##000000
##978AF31.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#6495F1
Tritanopia (blue-blind)
#7E9FB3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #978af3;
/* rgb */ color: rgb(151, 138, 243);
/* oklch */ color: oklch(69.0% 0.151 287.4);
Tailwind
colors: {
  custom: {
    50: '#b9acf7',
    500: '#978af3',
    950: '#000000',
  },
}
SCSS
$custom: #978af3;
$custom-light: #b9acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#978af3",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 243
  },
  "hsl": {
    "h": 247.429,
    "s": 81.395,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68997,
    "c": 0.15119,
    "h": 287.4
  },
  "luminance": 0.31227
}

Semantic roles & 50–950 ramp

primary
#978AF3
secondary
#F0F4D7
accent
#DE08C3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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