#8979D2#8979D2

#8979D2 is a light, vivid violet. Relative luminance 0.236; OKLCH L 62.9% C 0.132 H 290.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8979D2
RGBrgb(137, 121, 210)
HSLhsl(251, 50%, 65%)
HSVhsv(251, 42%, 82%)
CMYKcmyk(34.8%, 42.4%, 0%, 17.6%)
CIE-LABlab(55.73, 26.58, -43.87)
CIE-LCHlch(55.73, 51.29, 301.21°)
OKLaboklab(62.89% 0.0458 -0.1233)
OKLCHoklch(62.89% 0.132 290.4)
XYZxyz(28.7837, 23.6456, 64.0078)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979D2 #C2D279
analogous
#7995D2 #8979D2 #B679D2
triadic
#8979D2 #D28979 #79D289
tetradic
#8979D2 #D27995 #C2D279 #79D2B6
square
#8979D2 #D27995 #C2D279 #79D2B6
split-complementary
#8979D2 #D2B679 #95D279
monochromatic
#47349C #614BC3 #8979D2 #B1A7E1 #DAD5F1

Accessibility & contrast

On white

3.67
#8979D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8979D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979D2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979D2#FFFFFF#000000##000000
##8979D21.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C87D5
Deuteranopia (green-blind)
#5D84D0
Tritanopia (blue-blind)
#778A9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8979d2;
/* rgb */ color: rgb(137, 121, 210);
/* oklch */ color: oklch(62.9% 0.132 290.4);
Tailwind
colors: {
  custom: {
    50: '#aea0e0',
    500: '#8979d2',
    950: '#000000',
  },
}
SCSS
$custom: #8979d2;
$custom-light: #aea0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8979d2",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 250.787,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62891,
    "c": 0.1315,
    "h": 290.4
  },
  "luminance": 0.23646
}

Semantic roles & 50–950 ramp

primary
#8979D2
secondary
#DDE3C4
accent
#BD28A2
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8979D2

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

Preview Lab → · Contrast checker → · Palette generator →

#8979D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva