#8978CD#8978CD

#8978CD is a light, vivid violet. Relative luminance 0.232; OKLCH L 62.4% C 0.126 H 291.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8978CD
RGBrgb(137, 120, 205)
HSLhsl(252, 46%, 64%)
HSVhsv(252, 41%, 80%)
CMYKcmyk(33.2%, 41.5%, 0%, 19.6%)
CIE-LABlab(55.24, 25.84, -41.82)
CIE-LCHlch(55.24, 49.16, 301.71°)
OKLaboklab(62.43% 0.0462 -0.1173)
OKLCHoklch(62.43% 0.126 291.5)
XYZxyz(28.0496, 23.1585, 60.7380)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978CD #BCCD78
analogous
#7891CD #8978CD #B378CD
triadic
#8978CD #CD8978 #78CD89
tetradic
#8978CD #CD7891 #BCCD78 #78CDB3
square
#8978CD #CD7891 #BCCD78 #78CDB3
split-complementary
#8978CD #CDB378 #91CD78
monochromatic
#493794 #624BBC #8978CD #B0A5DE #D7D1EE

Accessibility & contrast

On white

3.73
#8978CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8978CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978CD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978CD#FFFFFF#000000##000000
##8978CD1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86D0
Deuteranopia (green-blind)
#5F83CB
Tritanopia (blue-blind)
#798899
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8978cd;
/* rgb */ color: rgb(137, 120, 205);
/* oklch */ color: oklch(62.4% 0.126 291.5);
Tailwind
colors: {
  custom: {
    50: '#ae9fdc',
    500: '#8978cd',
    950: '#000000',
  },
}
SCSS
$custom: #8978cd;
$custom-light: #ae9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8978cd",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 252,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62433,
    "c": 0.12611,
    "h": 291.5
  },
  "luminance": 0.23159
}

Semantic roles & 50–950 ramp

primary
#8978CD
secondary
#D9DFC1
accent
#B92C9D
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8978CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8978CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva