#8976EF#8976EF

#8976EF is a light, vivid blue. Relative luminance 0.245; OKLCH L 64.0% C 0.175 H 287.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8976EF
RGBrgb(137, 118, 239)
HSLhsl(249, 79%, 70%)
HSVhsv(249, 51%, 94%)
CMYKcmyk(42.7%, 50.6%, 0%, 6.3%)
CIE-LABlab(56.59, 36.28, -58.76)
CIE-LCHlch(56.59, 69.06, 301.69°)
OKLaboklab(64.05% 0.053 -0.1669)
OKLCHoklch(64.05% 0.175 287.6)
XYZxyz(32.3705, 24.5060, 84.6692)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976EF #DCEF76
analogous
#76A0EF #8976EF #C576EF
triadic
#8976EF #EF8976 #76EF89
tetradic
#8976EF #EF76A0 #DCEF76 #76EFC5
square
#8976EF #EF76A0 #DCEF76 #76EFC5
split-complementary
#8976EF #EFC576 #A0EF76
monochromatic
#3619D2 #5A3FE9 #8976EF #B8ADF5 #E7E4FC

Accessibility & contrast

On white

3.56
#8976EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8976EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976EF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976EF#FFFFFF#000000##000000
##8976EF1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#408BF3
Deuteranopia (green-blind)
#4085EC
Tritanopia (blue-blind)
#6B8FA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8976ef;
/* rgb */ color: rgb(137, 118, 239);
/* oklch */ color: oklch(64.0% 0.175 287.6);
Tailwind
colors: {
  custom: {
    50: '#b19ef5',
    500: '#8976ef',
    950: '#000000',
  },
}
SCSS
$custom: #8976ef;
$custom-light: #b19ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#8976ef",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 249.421,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.64049,
    "c": 0.17508,
    "h": 287.6
  },
  "luminance": 0.24507
}

Semantic roles & 50–950 ramp

primary
#8976EF
secondary
#ECF1CF
accent
#DB0ABB
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8976EF

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

Preview Lab → · Contrast checker → · Palette generator →

#8976EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva