#8977D4#8977D4

#8977D4 is a light, vivid violet. Relative luminance 0.233; OKLCH L 62.6% C 0.137 H 290.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8977D4
RGBrgb(137, 119, 212)
HSLhsl(252, 52%, 65%)
HSVhsv(252, 44%, 83%)
CMYKcmyk(35.4%, 43.9%, 0%, 16.9%)
CIE-LABlab(55.34, 28.29, -45.61)
CIE-LCHlch(55.34, 53.67, 301.81°)
OKLaboklab(62.63% 0.0487 -0.1284)
OKLCHoklch(62.63% 0.137 290.8)
XYZxyz(28.7939, 23.2648, 65.2481)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8977D4 #C2D477
analogous
#7794D4 #8977D4 #B877D4
triadic
#8977D4 #D48977 #77D489
tetradic
#8977D4 #D47794 #C2D477 #77D4B8
square
#8977D4 #D47794 #C2D477 #77D4B8
split-complementary
#8977D4 #D4B877 #94D477
monochromatic
#47329E #6149C5 #8977D4 #B1A5E3 #DAD4F1

Accessibility & contrast

On white

3.71
#8977D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8977D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8977D4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8977D4#FFFFFF#000000##000000
##8977D41.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5886D7
Deuteranopia (green-blind)
#5983D2
Tritanopia (blue-blind)
#76899B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8977d4;
/* rgb */ color: rgb(137, 119, 212);
/* oklch */ color: oklch(62.6% 0.137 290.8);
Tailwind
colors: {
  custom: {
    50: '#ae9ee1',
    500: '#8977d4',
    950: '#000000',
  },
}
SCSS
$custom: #8977d4;
$custom-light: #ae9ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8977d4",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 212
  },
  "hsl": {
    "h": 251.613,
    "s": 51.955,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62631,
    "c": 0.1373,
    "h": 290.8
  },
  "luminance": 0.23265
}

Semantic roles & 50–950 ramp

primary
#8977D4
secondary
#DDE3C4
accent
#BF26A2
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8977D4

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

Preview Lab → · Contrast checker → · Palette generator →

#8977D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva