#978CCB#978CCB

#978CCB is a light, moderate violet. Relative luminance 0.296; OKLCH L 67.4% C 0.093 H 291.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#978CCB
RGBrgb(151, 140, 203)
HSLhsl(250, 38%, 67%)
HSVhsv(250, 31%, 80%)
CMYKcmyk(25.6%, 31%, 0%, 20.4%)
CIE-LABlab(61.35, 17.73, -31.04)
CIE-LCHlch(61.35, 35.75, 299.73°)
OKLaboklab(67.36% 0.0343 -0.086)
OKLCHoklch(67.36% 0.093 291.7)
XYZxyz(32.9175, 29.6468, 60.4765)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CCB #C0CB8C
analogous
#8CA1CB #978CCB #B78CCB
triadic
#978CCB #CB978C #8CCB97
tetradic
#978CCB #CB8CA1 #C0CB8C #8CCBB7
square
#978CCB #CB8CA1 #C0CB8C #8CCBB7
split-complementary
#978CCB #CBB78C #A1CB8C
monochromatic
#534598 #7162B8 #978CCB #BDB6DE #E3E0F1

Accessibility & contrast

On white

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

On black

6.93
#978CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978CCB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CCB#FFFFFF#000000##000000
##978CCB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978ccb;
/* rgb */ color: rgb(151, 140, 203);
/* oklch */ color: oklch(67.4% 0.093 291.7);
Tailwind
colors: {
  custom: {
    50: '#b6addb',
    500: '#978ccb',
    950: '#000000',
  },
}
SCSS
$custom: #978ccb;
$custom-light: #b6addb;
$custom-dark: #000000;
JSON
{
  "hex": "#978ccb",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 203
  },
  "hsl": {
    "h": 250.476,
    "s": 37.725,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67363,
    "c": 0.09253,
    "h": 291.7
  },
  "luminance": 0.29647
}

Semantic roles & 50–950 ramp

primary
#978CCB
secondary
#E0E3CF
accent
#B1359B
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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