#978FBC#978FBC

#978FBC is a light, moderate violet. Relative luminance 0.299; OKLCH L 67.3% C 0.066 H 292.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#978FBC
RGBrgb(151, 143, 188)
HSLhsl(251, 25%, 65%)
HSVhsv(251, 24%, 74%)
CMYKcmyk(19.7%, 23.9%, 0%, 26.3%)
CIE-LABlab(61.53, 12.42, -22.32)
CIE-LCHlch(61.53, 25.55, 299.10°)
OKLaboklab(67.31% 0.0256 -0.0612)
OKLCHoklch(67.31% 0.066 292.7)
XYZxyz(31.6600, 29.8548, 51.6618)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FBC #B4BC8F
analogous
#8F9DBC #978FBC #AE8FBC
triadic
#978FBC #BC978F #8FBC97
tetradic
#978FBC #BC8F9D #B4BC8F #8FBCAE
square
#978FBC #BC8F9D #B4BC8F #8FBCAE
split-complementary
#978FBC #BCAE8F #9DBC8F
monochromatic
#574E83 #7369A5 #978FBC #BBB5D3 #DEDCEA

Accessibility & contrast

On white

3.01
#978FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#978FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978FBC
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FBC#FFFFFF#000000##000000
##978FBC1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8595BE
Deuteranopia (green-blind)
#8594BB
Tritanopia (blue-blind)
#90969E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #978fbc;
/* rgb */ color: rgb(151, 143, 188);
/* oklch */ color: oklch(67.3% 0.066 292.7);
Tailwind
colors: {
  custom: {
    50: '#b6afd0',
    500: '#978fbc',
    950: '#000000',
  },
}
SCSS
$custom: #978fbc;
$custom-light: #b6afd0;
$custom-dark: #000000;
JSON
{
  "hex": "#978fbc",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 188
  },
  "hsl": {
    "h": 250.667,
    "s": 25.14,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67307,
    "c": 0.0663,
    "h": 292.7
  },
  "luminance": 0.29855
}

Semantic roles & 50–950 ramp

primary
#978FBC
secondary
#D8DBCC
accent
#A44292
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #978FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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