#8978CB#8978CB

#8978CB is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.3% C 0.123 H 291.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8978CB
RGBrgb(137, 120, 203)
HSLhsl(252, 44%, 63%)
HSVhsv(252, 41%, 80%)
CMYKcmyk(32.5%, 40.9%, 0%, 20.4%)
CIE-LABlab(55.14, 25.31, -40.84)
CIE-LCHlch(55.14, 48.05, 301.79°)
OKLaboklab(62.33% 0.0459 -0.1145)
OKLCHoklch(62.33% 0.123 291.8)
XYZxyz(27.8097, 23.0625, 59.4747)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978CB #BACB78
analogous
#7890CB #8978CB #B278CB
triadic
#8978CB #CB8978 #78CB89
tetradic
#8978CB #CB7890 #BACB78 #78CBB2
square
#8978CB #CB7890 #BACB78 #78CBB2
split-complementary
#8978CB #CBB278 #90CB78
monochromatic
#4A3891 #624CBA #8978CB #B0A4DC #D6D0ED

Accessibility & contrast

On white

3.74
#8978CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8978CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978CB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978CB#FFFFFF#000000##000000
##8978CB1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CE
Deuteranopia (green-blind)
#6082C9
Tritanopia (blue-blind)
#798798
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8978cb;
/* rgb */ color: rgb(137, 120, 203);
/* oklch */ color: oklch(62.3% 0.123 291.8);
Tailwind
colors: {
  custom: {
    50: '#ae9fdb',
    500: '#8978cb',
    950: '#000000',
  },
}
SCSS
$custom: #8978cb;
$custom-light: #ae9fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8978cb",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 252.289,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62326,
    "c": 0.12332,
    "h": 291.8
  },
  "luminance": 0.23063
}

Semantic roles & 50–950 ramp

primary
#8978CB
secondary
#D8DEC1
accent
#B82E9B
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8978CB

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

Preview Lab → · Contrast checker → · Palette generator →

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