#978BC0#978BC0

#978BC0 is a light, moderate violet. Relative luminance 0.288; OKLCH L 66.7% C 0.078 H 294.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#978BC0
RGBrgb(151, 139, 192)
HSLhsl(254, 30%, 65%)
HSVhsv(254, 28%, 75%)
CMYKcmyk(21.4%, 27.6%, 0%, 24.7%)
CIE-LABlab(60.65, 15.66, -25.93)
CIE-LCHlch(60.65, 30.29, 301.13°)
OKLaboklab(66.68% 0.0326 -0.0714)
OKLCHoklch(66.68% 0.078 294.6)
XYZxyz(31.5074, 28.8500, 53.7676)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BC0 #B4C08B
analogous
#8B9AC0 #978BC0 #B28BC0
triadic
#978BC0 #C0978B #8BC097
tetradic
#978BC0 #C08B9A #B4C08B #8BC0B2
square
#978BC0 #C08B9A #B4C08B #8BC0B2
split-complementary
#978BC0 #C0B28B #9AC08B
monochromatic
#574987 #7363AA #978BC0 #BBB3D6 #DEDAEB

Accessibility & contrast

On white

3.10
#978BC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#978BC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BC0
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BC0#FFFFFF#000000##000000
##978BC01.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F93C2
Deuteranopia (green-blind)
#8092BF
Tritanopia (blue-blind)
#8F939E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978bc0;
/* rgb */ color: rgb(151, 139, 192);
/* oklch */ color: oklch(66.7% 0.078 294.6);
Tailwind
colors: {
  custom: {
    50: '#b6acd3',
    500: '#978bc0',
    950: '#000000',
  },
}
SCSS
$custom: #978bc0;
$custom-light: #b6acd3;
$custom-dark: #000000;
JSON
{
  "hex": "#978bc0",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 192
  },
  "hsl": {
    "h": 253.585,
    "s": 29.609,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66678,
    "c": 0.07847,
    "h": 294.6
  },
  "luminance": 0.2885
}

Semantic roles & 50–950 ramp

primary
#978BC0
secondary
#D8DCCA
accent
#A83D90
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #978BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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