#978EBA#978EBA

#978EBA is a light, moderate violet. Relative luminance 0.295; OKLCH L 67.0% C 0.065 H 294.0°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#978EBA
RGBrgb(151, 142, 186)
HSLhsl(252, 24%, 64%)
HSVhsv(252, 24%, 73%)
CMYKcmyk(18.8%, 23.7%, 0%, 27.1%)
CIE-LABlab(61.19, 12.53, -21.70)
CIE-LCHlch(61.19, 25.06, 300.01°)
OKLaboklab(67.02% 0.0264 -0.0594)
OKLCHoklch(67.02% 0.065 294)
XYZxyz(31.2965, 29.4702, 50.4844)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EBA #B1BA8E
analogous
#8E9BBA #978EBA #AD8EBA
triadic
#978EBA #BA978E #8EBA97
tetradic
#978EBA #BA8E9B #B1BA8E #8EBAAD
square
#978EBA #BA8E9B #B1BA8E #8EBAAD
split-complementary
#978EBA #BAAD8E #9BBA8E
monochromatic
#584E80 #7468A3 #978EBA #BAB4D1 #DDDAE8

Accessibility & contrast

On white

3.05
#978EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#978EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EBA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EBA#FFFFFF#000000##000000
##978EBA1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8494BC
Deuteranopia (green-blind)
#8593B9
Tritanopia (blue-blind)
#90959D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #978eba;
/* rgb */ color: rgb(151, 142, 186);
/* oklch */ color: oklch(67.0% 0.065 294.0);
Tailwind
colors: {
  custom: {
    50: '#b6afce',
    500: '#978eba',
    950: '#000000',
  },
}
SCSS
$custom: #978eba;
$custom-light: #b6afce;
$custom-dark: #000000;
JSON
{
  "hex": "#978eba",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 186
  },
  "hsl": {
    "h": 252.273,
    "s": 24.176,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67023,
    "c": 0.06503,
    "h": 294
  },
  "luminance": 0.2947
}

Semantic roles & 50–950 ramp

primary
#978EBA
secondary
#D6DACA
accent
#A3438F
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #978EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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