#978BCE#978BCE

#978BCE is a light, moderate violet. Relative luminance 0.295; OKLCH L 67.3% C 0.098 H 291.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#978BCE
RGBrgb(151, 139, 206)
HSLhsl(251, 41%, 68%)
HSVhsv(251, 33%, 81%)
CMYKcmyk(26.7%, 32.5%, 0%, 19.2%)
CIE-LABlab(61.22, 19.05, -32.92)
CIE-LCHlch(61.22, 38.04, 300.05°)
OKLaboklab(67.31% 0.0364 -0.0913)
OKLCHoklch(67.31% 0.098 291.7)
XYZxyz(33.1330, 29.5003, 62.3290)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BCE #C2CE8B
analogous
#8BA1CE #978BCE #B88BCE
triadic
#978BCE #CE978B #8BCE97
tetradic
#978BCE #CE8BA1 #C2CE8B #8BCEB8
square
#978BCE #CE8BA1 #C2CE8B #8BCEB8
split-complementary
#978BCE #CEB88B #A1CE8B
monochromatic
#52429C #7060BC #978BCE #BEB6E0 #E4E1F2

Accessibility & contrast

On white

3.04
#978BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#978BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BCE
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BCE#FFFFFF#000000##000000
##978BCE1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D1
Deuteranopia (green-blind)
#7A92CC
Tritanopia (blue-blind)
#8B96A3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #978bce;
/* rgb */ color: rgb(151, 139, 206);
/* oklch */ color: oklch(67.3% 0.098 291.7);
Tailwind
colors: {
  custom: {
    50: '#b7addd',
    500: '#978bce',
    950: '#000000',
  },
}
SCSS
$custom: #978bce;
$custom-light: #b7addd;
$custom-dark: #000000;
JSON
{
  "hex": "#978bce",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 206
  },
  "hsl": {
    "h": 250.746,
    "s": 40.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67306,
    "c": 0.09835,
    "h": 291.7
  },
  "luminance": 0.29501
}

Semantic roles & 50–950 ramp

primary
#978BCE
secondary
#E1E5D0
accent
#B4329C
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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