#978EBF#978EBF

#978EBF is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.2% C 0.072 H 292.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#978EBF
RGBrgb(151, 142, 191)
HSLhsl(251, 28%, 65%)
HSVhsv(251, 26%, 75%)
CMYKcmyk(20.9%, 25.7%, 0%, 25.1%)
CIE-LABlab(61.38, 13.70, -24.24)
CIE-LCHlch(61.38, 27.84, 299.47°)
OKLaboklab(67.23% 0.028 -0.0666)
OKLCHoklch(67.23% 0.072 292.8)
XYZxyz(31.8373, 29.6866, 53.3329)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EBF #B6BF8E
analogous
#8E9DBF #978EBF #AF8EBF
triadic
#978EBF #BF978E #8EBF97
tetradic
#978EBF #BF8E9D #B6BF8E #8EBFAF
square
#978EBF #BF8E9D #B6BF8E #8EBFAF
split-complementary
#978EBF #BFAF8E #9DBF8E
monochromatic
#574C86 #7367A9 #978EBF #BBB5D5 #DFDCEB

Accessibility & contrast

On white

3.03
#978EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#978EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EBF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EBF#FFFFFF#000000##000000
##978EBF1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8395C1
Deuteranopia (green-blind)
#8393BE
Tritanopia (blue-blind)
#8F969F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #978ebf;
/* rgb */ color: rgb(151, 142, 191);
/* oklch */ color: oklch(67.2% 0.072 292.8);
Tailwind
colors: {
  custom: {
    50: '#b6afd2',
    500: '#978ebf',
    950: '#000000',
  },
}
SCSS
$custom: #978ebf;
$custom-light: #b6afd2;
$custom-dark: #000000;
JSON
{
  "hex": "#978ebf",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 191
  },
  "hsl": {
    "h": 251.02,
    "s": 27.684,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67231,
    "c": 0.07221,
    "h": 292.8
  },
  "luminance": 0.29687
}

Semantic roles & 50–950 ramp

primary
#978EBF
secondary
#DADDCC
accent
#A63F93
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #978EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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