#8976DA#8976DA

#8976DA is a light, vivid violet. Relative luminance 0.233; OKLCH L 62.8% C 0.147 H 290.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8976DA
RGBrgb(137, 118, 218)
HSLhsl(251, 57%, 66%)
HSVhsv(251, 46%, 85%)
CMYKcmyk(37.2%, 45.9%, 0%, 14.5%)
CIE-LABlab(55.42, 30.49, -48.88)
CIE-LCHlch(55.42, 57.61, 301.96°)
OKLaboklab(62.79% 0.0509 -0.1379)
OKLCHoklch(62.79% 0.147 290.2)
XYZxyz(29.4464, 23.3364, 69.2690)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976DA #C7DA76
analogous
#7695DA #8976DA #BB76DA
triadic
#8976DA #DA8976 #76DA89
tetradic
#8976DA #DA7695 #C7DA76 #76DABB
square
#8976DA #DA7695 #C7DA76 #76DABB
split-complementary
#8976DA #DABB76 #95DA76
monochromatic
#452DA8 #5F46CD #8976DA #B3A6E7 #DCD6F4

Accessibility & contrast

On white

3.71
#8976DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8976DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976DA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976DA#FFFFFF#000000##000000
##8976DA1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5287DE
Deuteranopia (green-blind)
#5483D8
Tritanopia (blue-blind)
#748A9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8976da;
/* rgb */ color: rgb(137, 118, 218);
/* oklch */ color: oklch(62.8% 0.147 290.2);
Tailwind
colors: {
  custom: {
    50: '#af9de6',
    500: '#8976da',
    950: '#000000',
  },
}
SCSS
$custom: #8976da;
$custom-light: #af9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#8976da",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 218
  },
  "hsl": {
    "h": 251.4,
    "s": 57.471,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62788,
    "c": 0.147,
    "h": 290.2
  },
  "luminance": 0.23337
}

Semantic roles & 50–950 ramp

primary
#8976DA
secondary
#E0E6C5
accent
#C520A6
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8976DA

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

Preview Lab → · Contrast checker → · Palette generator →

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