#978CCC#978CCC

#978CCC is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.4% C 0.094 H 291.6°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#978CCC
RGBrgb(151, 140, 204)
HSLhsl(250, 39%, 67%)
HSVhsv(250, 31%, 80%)
CMYKcmyk(26%, 31.4%, 0%, 20%)
CIE-LABlab(61.39, 17.98, -31.54)
CIE-LCHlch(61.39, 36.30, 299.68°)
OKLaboklab(67.41% 0.0345 -0.0874)
OKLCHoklch(67.41% 0.094 291.6)
XYZxyz(33.0370, 29.6946, 61.1061)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CCC #C1CC8C
analogous
#8CA1CC #978CCC #B78CCC
triadic
#978CCC #CC978C #8CCC97
tetradic
#978CCC #CC8CA1 #C1CC8C #8CCCB7
square
#978CCC #CC8CA1 #C1CC8C #8CCCB7
split-complementary
#978CCC #CCB78C #A1CC8C
monochromatic
#53449A #7162B9 #978CCC #BDB6DF #E4E1F2

Accessibility & contrast

On white

3.03
#978CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#978CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978CCC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CCC#FFFFFF#000000##000000
##978CCC1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95CF
Deuteranopia (green-blind)
#7C93CA
Tritanopia (blue-blind)
#8C97A3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #978ccc;
/* rgb */ color: rgb(151, 140, 204);
/* oklch */ color: oklch(67.4% 0.094 291.6);
Tailwind
colors: {
  custom: {
    50: '#b7addb',
    500: '#978ccc',
    950: '#000000',
  },
}
SCSS
$custom: #978ccc;
$custom-light: #b7addb;
$custom-dark: #000000;
JSON
{
  "hex": "#978ccc",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 204
  },
  "hsl": {
    "h": 250.313,
    "s": 38.554,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67408,
    "c": 0.09395,
    "h": 291.6
  },
  "luminance": 0.29695
}

Semantic roles & 50–950 ramp

primary
#978CCC
secondary
#E0E4D0
accent
#B2349C
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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