#8978CE#8978CE

#8978CE is a light, vivid violet. Relative luminance 0.232; OKLCH L 62.5% C 0.127 H 291.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8978CE
RGBrgb(137, 120, 206)
HSLhsl(252, 47%, 64%)
HSVhsv(252, 42%, 81%)
CMYKcmyk(33.5%, 41.7%, 0%, 19.2%)
CIE-LABlab(55.28, 26.11, -42.31)
CIE-LCHlch(55.28, 49.71, 301.68°)
OKLaboklab(62.49% 0.0464 -0.1187)
OKLCHoklch(62.49% 0.127 291.3)
XYZxyz(28.1707, 23.2069, 61.3757)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978CE #BDCE78
analogous
#7892CE #8978CE #B478CE
triadic
#8978CE #CE8978 #78CE89
tetradic
#8978CE #CE7892 #BDCE78 #78CEB4
square
#8978CE #CE7892 #BDCE78 #78CEB4
split-complementary
#8978CE #CEB478 #92CE78
monochromatic
#493695 #624BBE #8978CE #B0A5DE #D7D2EF

Accessibility & contrast

On white

3.72
#8978CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8978CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978CE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978CE#FFFFFF#000000##000000
##8978CE1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D1
Deuteranopia (green-blind)
#5E83CC
Tritanopia (blue-blind)
#788899
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8978ce;
/* rgb */ color: rgb(137, 120, 206);
/* oklch */ color: oklch(62.5% 0.127 291.3);
Tailwind
colors: {
  custom: {
    50: '#ae9fdd',
    500: '#8978ce',
    950: '#000000',
  },
}
SCSS
$custom: #8978ce;
$custom-light: #ae9fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8978ce",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 251.86,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62487,
    "c": 0.12749,
    "h": 291.3
  },
  "luminance": 0.23208
}

Semantic roles & 50–950 ramp

primary
#8978CE
secondary
#DAE0C2
accent
#BA2C9E
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8978CE

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

Preview Lab → · Contrast checker → · Palette generator →

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