#978CCD#978CCD

#978CCD is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.5% C 0.095 H 291.4°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#978CCD
RGBrgb(151, 140, 205)
HSLhsl(250, 39%, 68%)
HSVhsv(250, 32%, 80%)
CMYKcmyk(26.3%, 31.7%, 0%, 19.6%)
CIE-LABlab(61.43, 18.22, -32.04)
CIE-LCHlch(61.43, 36.86, 299.63°)
OKLaboklab(67.45% 0.0348 -0.0888)
OKLCHoklch(67.45% 0.095 291.4)
XYZxyz(33.1573, 29.7427, 61.7398)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CCD #C2CD8C
analogous
#8CA1CD #978CCD #B88CCD
triadic
#978CCD #CD978C #8CCD97
tetradic
#978CCD #CD8CA1 #C2CD8C #8CCDB8
square
#978CCD #CD8CA1 #C2CD8C #8CCDB8
split-complementary
#978CCD #CDB88C #A1CD8C
monochromatic
#52439B #7061BA #978CCD #BEB7E0 #E4E1F2

Accessibility & contrast

On white

3.02
#978CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#978CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978CCD
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CCD#FFFFFF#000000##000000
##978CCD1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95D0
Deuteranopia (green-blind)
#7C93CB
Tritanopia (blue-blind)
#8B97A3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #978ccd;
/* rgb */ color: rgb(151, 140, 205);
/* oklch */ color: oklch(67.5% 0.095 291.4);
Tailwind
colors: {
  custom: {
    50: '#b7addc',
    500: '#978ccd',
    950: '#000000',
  },
}
SCSS
$custom: #978ccd;
$custom-light: #b7addc;
$custom-dark: #000000;
JSON
{
  "hex": "#978ccd",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 205
  },
  "hsl": {
    "h": 250.154,
    "s": 39.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67454,
    "c": 0.09536,
    "h": 291.4
  },
  "luminance": 0.29743
}

Semantic roles & 50–950 ramp

primary
#978CCD
secondary
#E1E4D0
accent
#B2339D
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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