#978FED#978FED

#978FED is a light, vivid blue. Relative luminance 0.323; OKLCH L 69.6% C 0.136 H 286.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#978FED
RGBrgb(151, 143, 237)
HSLhsl(245, 72%, 75%)
HSVhsv(245, 40%, 93%)
CMYKcmyk(36.3%, 39.7%, 0%, 7.1%)
CIE-LABlab(63.62, 24.72, -46.41)
CIE-LCHlch(63.62, 52.58, 298.04°)
OKLaboklab(69.6% 0.0379 -0.1303)
OKLCHoklch(69.6% 0.136 286.2)
XYZxyz(37.8668, 32.3375, 84.3510)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FED #E5ED8F
analogous
#8FB6ED #978FED #C68FED
triadic
#978FED #ED978F #8FED97
tetradic
#978FED #ED8FB6 #E5ED8F #8FEDC6
square
#978FED #ED8FB6 #E5ED8F #8FEDC6
split-complementary
#978FED #EDC68F #B6ED8F
monochromatic
#3526DC #665AE5 #978FED #C8C4F5 #E7E5FB

Accessibility & contrast

On white

2.81
#978FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#978FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #978FED
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FED#FFFFFF#000000##000000
##978FED1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF1
Deuteranopia (green-blind)
#6E97EB
Tritanopia (blue-blind)
#80A1B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #978fed;
/* rgb */ color: rgb(151, 143, 237);
/* oklch */ color: oklch(69.6% 0.136 286.2);
Tailwind
colors: {
  custom: {
    50: '#b8aff3',
    500: '#978fed',
    950: '#000000',
  },
}
SCSS
$custom: #978fed;
$custom-light: #b8aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#978fed",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 237
  },
  "hsl": {
    "h": 245.106,
    "s": 72.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69601,
    "c": 0.13574,
    "h": 286.2
  },
  "luminance": 0.32339
}

Semantic roles & 50–950 ramp

primary
#978FED
secondary
#F0F2D9
accent
#D411C4
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #978FED

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

Preview Lab → · Contrast checker → · Palette generator →

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