#978EBB#978EBB

#978EBB is a light, moderate violet. Relative luminance 0.295; OKLCH L 67.1% C 0.066 H 293.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#978EBB
RGBrgb(151, 142, 187)
HSLhsl(252, 25%, 65%)
HSVhsv(252, 24%, 73%)
CMYKcmyk(19.3%, 24.1%, 0%, 26.7%)
CIE-LABlab(61.23, 12.76, -22.21)
CIE-LCHlch(61.23, 25.62, 299.88°)
OKLaboklab(67.07% 0.0267 -0.0609)
OKLCHoklch(67.07% 0.066 293.7)
XYZxyz(31.4031, 29.5129, 51.0462)
Luminance0.2951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EBB #B2BB8E
analogous
#8E9CBB #978EBB #AE8EBB
triadic
#978EBB #BB978E #8EBB97
tetradic
#978EBB #BB8E9C #B2BB8E #8EBBAE
square
#978EBB #BB8E9C #B2BB8E #8EBBAE
split-complementary
#978EBB #BBAE8E #9CBB8E
monochromatic
#584E81 #7468A4 #978EBB #BAB4D2 #DDDAE9

Accessibility & contrast

On white

3.04
#978EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#978EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EBB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EBB#FFFFFF#000000##000000
##978EBB1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978ebb;
/* rgb */ color: rgb(151, 142, 187);
/* oklch */ color: oklch(67.1% 0.066 293.7);
Tailwind
colors: {
  custom: {
    50: '#b6afcf',
    500: '#978ebb',
    950: '#000000',
  },
}
SCSS
$custom: #978ebb;
$custom-light: #b6afcf;
$custom-dark: #000000;
JSON
{
  "hex": "#978ebb",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 187
  },
  "hsl": {
    "h": 252,
    "s": 24.862,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67065,
    "c": 0.06646,
    "h": 293.7
  },
  "luminance": 0.29513
}

Semantic roles & 50–950 ramp

primary
#978EBB
secondary
#D7DACB
accent
#A34290
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #978EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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