#978FBB#978FBB

#978FBB is a light, moderate violet. Relative luminance 0.298; OKLCH L 67.3% C 0.065 H 292.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#978FBB
RGBrgb(151, 143, 187)
HSLhsl(251, 24%, 65%)
HSVhsv(251, 24%, 73%)
CMYKcmyk(19.3%, 23.5%, 0%, 26.7%)
CIE-LABlab(61.49, 12.19, -21.81)
CIE-LCHlch(61.49, 24.99, 299.20°)
OKLaboklab(67.27% 0.0253 -0.0597)
OKLCHoklch(67.27% 0.065 292.9)
XYZxyz(31.5526, 29.8118, 51.0960)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FBB #B3BB8F
analogous
#8F9DBB #978FBB #AD8FBB
triadic
#978FBB #BB978F #8FBB97
tetradic
#978FBB #BB8F9D #B3BB8F #8FBBAD
square
#978FBB #BB8F9D #B3BB8F #8FBBAD
split-complementary
#978FBB #BBAD8F #9DBB8F
monochromatic
#584E81 #7469A4 #978FBB #BAB5D2 #DEDBE9

Accessibility & contrast

On white

3.02
#978FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#978FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978FBB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FBB#FFFFFF#000000##000000
##978FBB1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8595BD
Deuteranopia (green-blind)
#8694BA
Tritanopia (blue-blind)
#90969E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #978fbb;
/* rgb */ color: rgb(151, 143, 187);
/* oklch */ color: oklch(67.3% 0.065 292.9);
Tailwind
colors: {
  custom: {
    50: '#b6afcf',
    500: '#978fbb',
    950: '#000000',
  },
}
SCSS
$custom: #978fbb;
$custom-light: #b6afcf;
$custom-dark: #000000;
JSON
{
  "hex": "#978fbb",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 187
  },
  "hsl": {
    "h": 250.909,
    "s": 24.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67266,
    "c": 0.06486,
    "h": 292.9
  },
  "luminance": 0.29812
}

Semantic roles & 50–950 ramp

primary
#978FBB
secondary
#D8DACB
accent
#A34391
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #978FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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