#978FF3#978FF3

#978FF3 is a light, vivid blue. Relative luminance 0.327; OKLCH L 69.9% C 0.144 H 285.7°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#978FF3
RGBrgb(151, 143, 243)
HSLhsl(245, 81%, 76%)
HSVhsv(245, 41%, 95%)
CMYKcmyk(37.9%, 41.2%, 0%, 4.7%)
CIE-LABlab(63.91, 26.33, -49.25)
CIE-LCHlch(63.91, 55.85, 298.13°)
OKLaboklab(69.92% 0.0389 -0.1386)
OKLCHoklch(69.92% 0.144 285.7)
XYZxyz(38.7581, 32.6940, 89.0451)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FF3 #EBF38F
analogous
#8FB9F3 #978FF3 #C98FF3
triadic
#978FF3 #F3978F #8FF397
tetradic
#978FF3 #F38FB9 #EBF38F #8FF3C9
square
#978FF3 #F38FB9 #EBF38F #8FF3C9
split-complementary
#978FF3 #F3C98F #B9F38F
monochromatic
#3020E7 #6458ED #978FF3 #CAC6F9 #E5E3FC

Accessibility & contrast

On white

2.79
#978FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#978FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FF3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FF3#FFFFFF#000000##000000
##978FF31.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9EF7
Deuteranopia (green-blind)
#6B98F1
Tritanopia (blue-blind)
#7EA2B5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #978ff3;
/* rgb */ color: rgb(151, 143, 243);
/* oklch */ color: oklch(69.9% 0.144 285.7);
Tailwind
colors: {
  custom: {
    50: '#b9aff7',
    500: '#978ff3',
    950: '#000000',
  },
}
SCSS
$custom: #978ff3;
$custom-light: #b9aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#978ff3",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 243
  },
  "hsl": {
    "h": 244.8,
    "s": 80.645,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69919,
    "c": 0.144,
    "h": 285.7
  },
  "luminance": 0.32695
}

Semantic roles & 50–950 ramp

primary
#978FF3
secondary
#F2F4D7
accent
#DD09CC
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #978FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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