#8979DF#8979DF

#8979DF is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.6% C 0.149 H 288.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8979DF
RGBrgb(137, 121, 223)
HSLhsl(249, 61%, 67%)
HSVhsv(249, 46%, 87%)
CMYKcmyk(38.6%, 45.7%, 0%, 12.5%)
CIE-LABlab(56.41, 30.10, -50.12)
CIE-LCHlch(56.41, 58.46, 300.99°)
OKLaboklab(63.62% 0.0477 -0.1415)
OKLCHoklch(63.62% 0.149 288.6)
XYZxyz(30.4695, 24.3199, 72.8866)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979DF #CFDF79
analogous
#799CDF #8979DF #BC79DF
triadic
#8979DF #DF8979 #79DF89
tetradic
#8979DF #DF799C #CFDF79 #79DFBC
square
#8979DF #DF799C #CFDF79 #79DFBC
split-complementary
#8979DF #DFBC79 #9CDF79
monochromatic
#402BB3 #5D48D3 #8979DF #B5AAEB #E0DCF7

Accessibility & contrast

On white

3.58
#8979DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#8979DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979DF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979DF#FFFFFF#000000##000000
##8979DF1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE3
Deuteranopia (green-blind)
#5485DD
Tritanopia (blue-blind)
#728DA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8979df;
/* rgb */ color: rgb(137, 121, 223);
/* oklch */ color: oklch(63.6% 0.149 288.6);
Tailwind
colors: {
  custom: {
    50: '#afa0e9',
    500: '#8979df',
    950: '#000000',
  },
}
SCSS
$custom: #8979df;
$custom-light: #afa0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8979df",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 249.412,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63621,
    "c": 0.14936,
    "h": 288.6
  },
  "luminance": 0.24321
}

Semantic roles & 50–950 ramp

primary
#8979DF
secondary
#E5EACA
accent
#C91CAE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8979DF

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

Preview Lab → · Contrast checker → · Palette generator →

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