#8976DF#8976DF

#8976DF is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.1% C 0.154 H 289.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8976DF
RGBrgb(137, 118, 223)
HSLhsl(251, 62%, 67%)
HSVhsv(251, 47%, 87%)
CMYKcmyk(38.6%, 47.1%, 0%, 12.5%)
CIE-LABlab(55.69, 31.85, -51.26)
CIE-LCHlch(55.69, 60.35, 301.86°)
OKLaboklab(63.08% 0.0515 -0.1449)
OKLCHoklch(63.08% 0.154 289.6)
XYZxyz(30.1106, 23.6021, 72.7669)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976DF #CCDF76
analogous
#7698DF #8976DF #BE76DF
triadic
#8976DF #DF8976 #76DF89
tetradic
#8976DF #DF7698 #CCDF76 #76DFBE
square
#8976DF #DF7698 #CCDF76 #76DFBE
split-complementary
#8976DF #DFBE76 #98DF76
monochromatic
#4229B1 #5E44D3 #8976DF #B4A8EB #DED9F6

Accessibility & contrast

On white

3.67
#8976DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8976DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976DF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976DF#FFFFFF#000000##000000
##8976DF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F88E3
Deuteranopia (green-blind)
#5083DD
Tritanopia (blue-blind)
#728BA0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8976df;
/* rgb */ color: rgb(137, 118, 223);
/* oklch */ color: oklch(63.1% 0.154 289.6);
Tailwind
colors: {
  custom: {
    50: '#af9de9',
    500: '#8976df',
    950: '#000000',
  },
}
SCSS
$custom: #8976df;
$custom-light: #af9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#8976df",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 250.857,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63079,
    "c": 0.15378,
    "h": 289.6
  },
  "luminance": 0.23603
}

Semantic roles & 50–950 ramp

primary
#8976DF
secondary
#E3E9C8
accent
#CA1CAA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8976DF

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

Preview Lab → · Contrast checker → · Palette generator →

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