#978BBB#978BBB

#978BBB is a light, moderate violet. Relative luminance 0.286; OKLCH L 66.5% C 0.071 H 295.9°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#978BBB
RGBrgb(151, 139, 187)
HSLhsl(255, 26%, 64%)
HSVhsv(255, 26%, 73%)
CMYKcmyk(19.3%, 25.7%, 0%, 26.7%)
CIE-LABlab(60.46, 14.49, -23.40)
CIE-LCHlch(60.46, 27.52, 301.76°)
OKLaboklab(66.47% 0.0311 -0.0642)
OKLCHoklch(66.47% 0.071 295.9)
XYZxyz(30.9628, 28.6322, 50.8994)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BBB #AFBB8B
analogous
#8B97BB #978BBB #AF8BBB
triadic
#978BBB #BB978B #8BBB97
tetradic
#978BBB #BB8B97 #AFBB8B #8BBBAF
square
#978BBB #BB8B97 #AFBB8B #8BBBAF
split-complementary
#978BBB #BBAF8B #97BB8B
monochromatic
#594B80 #7464A4 #978BBB #BAB2D2 #DCD8E8

Accessibility & contrast

On white

3.12
#978BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#978BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BBB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BBB#FFFFFF#000000##000000
##978BBB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8092BD
Deuteranopia (green-blind)
#8291BA
Tritanopia (blue-blind)
#90929C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978bbb;
/* rgb */ color: rgb(151, 139, 187);
/* oklch */ color: oklch(66.5% 0.071 295.9);
Tailwind
colors: {
  custom: {
    50: '#b6accf',
    500: '#978bbb',
    950: '#000000',
  },
}
SCSS
$custom: #978bbb;
$custom-light: #b6accf;
$custom-dark: #000000;
JSON
{
  "hex": "#978bbb",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 187
  },
  "hsl": {
    "h": 255,
    "s": 26.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66465,
    "c": 0.07135,
    "h": 295.9
  },
  "luminance": 0.28632
}

Semantic roles & 50–950 ramp

primary
#978BBB
secondary
#D5D9C8
accent
#A5418C
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #978BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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