#978BC2#978BC2

#978BC2 is a light, moderate violet. Relative luminance 0.289; OKLCH L 66.8% C 0.081 H 294.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#978BC2
RGBrgb(151, 139, 194)
HSLhsl(253, 31%, 65%)
HSVhsv(253, 28%, 76%)
CMYKcmyk(22.2%, 28.4%, 0%, 23.9%)
CIE-LABlab(60.73, 16.13, -26.94)
CIE-LCHlch(60.73, 31.40, 300.92°)
OKLaboklab(66.77% 0.0332 -0.0742)
OKLCHoklch(66.77% 0.081 294.1)
XYZxyz(31.7305, 28.9393, 54.9426)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BC2 #B6C28B
analogous
#8B9AC2 #978BC2 #B28BC2
triadic
#978BC2 #C2978B #8BC297
tetradic
#978BC2 #C28B9A #B6C28B #8BC2B2
square
#978BC2 #C28B9A #B6C28B #8BC2B2
split-complementary
#978BC2 #C2B28B #9AC28B
monochromatic
#57498A #7363AD #978BC2 #BBB3D7 #DFDBEC

Accessibility & contrast

On white

3.09
#978BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#978BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BC2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BC2#FFFFFF#000000##000000
##978BC21.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E93C4
Deuteranopia (green-blind)
#7F92C0
Tritanopia (blue-blind)
#8E949E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978bc2;
/* rgb */ color: rgb(151, 139, 194);
/* oklch */ color: oklch(66.8% 0.081 294.1);
Tailwind
colors: {
  custom: {
    50: '#b6acd4',
    500: '#978bc2',
    950: '#000000',
  },
}
SCSS
$custom: #978bc2;
$custom-light: #b6acd4;
$custom-dark: #000000;
JSON
{
  "hex": "#978bc2",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 194
  },
  "hsl": {
    "h": 253.091,
    "s": 31.073,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66765,
    "c": 0.08132,
    "h": 294.1
  },
  "luminance": 0.2894
}

Semantic roles & 50–950 ramp

primary
#978BC2
secondary
#DADECB
accent
#AA3C92
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #978BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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