#8978BB#8978BB

#8978BB is a mid, moderate violet. Relative luminance 0.223; OKLCH L 61.5% C 0.101 H 294.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8978BB
RGBrgb(137, 120, 187)
HSLhsl(255, 33%, 60%)
HSVhsv(255, 36%, 73%)
CMYKcmyk(26.7%, 35.8%, 0%, 26.7%)
CIE-LABlab(54.38, 21.19, -32.89)
CIE-LCHlch(54.38, 39.13, 302.80°)
OKLaboklab(61.51% 0.0425 -0.0915)
OKLCHoklch(61.51% 0.101 294.9)
XYZxyz(26.0005, 22.3388, 49.9461)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978BB #AABB78
analogous
#7888BB #8978BB #AB78BB
triadic
#8978BB #BB8978 #78BB89
tetradic
#8978BB #BB7888 #AABB78 #78BBAB
square
#8978BB #BB7888 #AABB78 #78BBAB
split-complementary
#8978BB #BBAB78 #88BB78
monochromatic
#4D3E7B #6752A3 #8978BB #ADA1D0 #D0C9E4

Accessibility & contrast

On white

3.84
#8978BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8978BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978BB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978BB#FFFFFF#000000##000000
##8978BB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BE
Deuteranopia (green-blind)
#6981B9
Tritanopia (blue-blind)
#7F8391
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8978bb;
/* rgb */ color: rgb(137, 120, 187);
/* oklch */ color: oklch(61.5% 0.101 294.9);
Tailwind
colors: {
  custom: {
    50: '#ad9fcf',
    500: '#8978bb',
    950: '#000000',
  },
}
SCSS
$custom: #8978bb;
$custom-light: #ad9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8978bb",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 255.224,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61507,
    "c": 0.10087,
    "h": 294.9
  },
  "luminance": 0.22339
}

Semantic roles & 50–950 ramp

primary
#8978BB
secondary
#CED4BB
accent
#AC3A8F
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8978BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8978BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva