#8976DB#8976DB

#8976DB is a light, vivid violet. Relative luminance 0.234; OKLCH L 62.8% C 0.148 H 290.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8976DB
RGBrgb(137, 118, 219)
HSLhsl(251, 58%, 66%)
HSVhsv(251, 46%, 86%)
CMYKcmyk(37.4%, 46.1%, 0%, 14.1%)
CIE-LABlab(55.47, 30.76, -49.36)
CIE-LCHlch(55.47, 58.16, 301.94°)
OKLaboklab(62.85% 0.051 -0.1393)
OKLCHoklch(62.85% 0.148 290.1)
XYZxyz(29.5777, 23.3889, 69.9602)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976DB #C8DB76
analogous
#7695DB #8976DB #BB76DB
triadic
#8976DB #DB8976 #76DB89
tetradic
#8976DB #DB7695 #C8DB76 #76DBBB
square
#8976DB #DB7695 #C8DB76 #76DBBB
split-complementary
#8976DB #DBBB76 #95DB76
monochromatic
#442DAA #5F46CE #8976DB #B3A6E8 #DCD7F4

Accessibility & contrast

On white

3.70
#8976DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8976DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976DB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976DB#FFFFFF#000000##000000
##8976DB1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5287DF
Deuteranopia (green-blind)
#5383D9
Tritanopia (blue-blind)
#748A9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8976db;
/* rgb */ color: rgb(137, 118, 219);
/* oklch */ color: oklch(62.8% 0.148 290.1);
Tailwind
colors: {
  custom: {
    50: '#af9de7',
    500: '#8976db',
    950: '#000000',
  },
}
SCSS
$custom: #8976db;
$custom-light: #af9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#8976db",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 251.287,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62846,
    "c": 0.14836,
    "h": 290.1
  },
  "luminance": 0.2339
}

Semantic roles & 50–950 ramp

primary
#8976DB
secondary
#E1E7C6
accent
#C620A7
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8976DB

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

Preview Lab → · Contrast checker → · Palette generator →

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