#978BCF#978BCF

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

Color values

HEX#978BCF
RGBrgb(151, 139, 207)
HSLhsl(251, 41%, 68%)
HSVhsv(251, 33%, 81%)
CMYKcmyk(27.1%, 32.9%, 0%, 18.8%)
CIE-LABlab(61.26, 19.29, -33.42)
CIE-LCHlch(61.26, 38.59, 300.00°)
OKLaboklab(67.35% 0.0367 -0.0928)
OKLCHoklch(67.35% 0.1 291.6)
XYZxyz(33.2548, 29.5490, 62.9709)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BCF #C3CF8B
analogous
#8BA1CF #978BCF #B98BCF
triadic
#978BCF #CF978B #8BCF97
tetradic
#978BCF #CF8BA1 #C3CF8B #8BCFB9
square
#978BCF #CF8BA1 #C3CF8B #8BCFB9
split-complementary
#978BCF #CFB98B #A1CF8B
monochromatic
#52419E #7060BD #978BCF #BEB6E1 #E5E2F3

Accessibility & contrast

On white

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

On black

6.91
#978BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BCF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BCF#FFFFFF#000000##000000
##978BCF1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D2
Deuteranopia (green-blind)
#7A93CD
Tritanopia (blue-blind)
#8B97A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #978bcf;
/* rgb */ color: rgb(151, 139, 207);
/* oklch */ color: oklch(67.4% 0.100 291.6);
Tailwind
colors: {
  custom: {
    50: '#b7adde',
    500: '#978bcf',
    950: '#000000',
  },
}
SCSS
$custom: #978bcf;
$custom-light: #b7adde;
$custom-dark: #000000;
JSON
{
  "hex": "#978bcf",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 207
  },
  "hsl": {
    "h": 250.588,
    "s": 41.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67352,
    "c": 0.09977,
    "h": 291.6
  },
  "luminance": 0.2955
}

Semantic roles & 50–950 ramp

primary
#978BCF
secondary
#E2E5D0
accent
#B5319D
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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