#978FF2#978FF2

#978FF2 is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.9% C 0.143 H 285.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#978FF2
RGBrgb(151, 143, 242)
HSLhsl(245, 79%, 75%)
HSVhsv(245, 41%, 95%)
CMYKcmyk(37.6%, 40.9%, 0%, 5.1%)
CIE-LABlab(63.86, 26.06, -48.78)
CIE-LCHlch(63.86, 55.30, 298.11°)
OKLaboklab(69.86% 0.0388 -0.1373)
OKLCHoklch(69.86% 0.143 285.8)
XYZxyz(38.6075, 32.6338, 88.2520)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FF2 #EAF28F
analogous
#8FB9F2 #978FF2 #C88FF2
triadic
#978FF2 #F2978F #8FF297
tetradic
#978FF2 #F28FB9 #EAF28F #8FF2C8
square
#978FF2 #F28FB9 #EAF28F #8FF2C8
split-complementary
#978FF2 #F2C88F #B9F28F
monochromatic
#3121E5 #6458EC #978FF2 #CAC6F8 #E6E4FC

Accessibility & contrast

On white

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

On black

7.53
#978FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FF2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FF2#FFFFFF#000000##000000
##978FF21.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978ff2;
/* rgb */ color: rgb(151, 143, 242);
/* oklch */ color: oklch(69.9% 0.143 285.8);
Tailwind
colors: {
  custom: {
    50: '#b9aff7',
    500: '#978ff2',
    950: '#000000',
  },
}
SCSS
$custom: #978ff2;
$custom-light: #b9aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#978ff2",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 244.848,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.69865,
    "c": 0.14263,
    "h": 285.8
  },
  "luminance": 0.32635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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