#976DDF#976DDF

#976DDF is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.168 H 298.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#976DDF
RGBrgb(151, 109, 223)
HSLhsl(262, 64%, 65%)
HSVhsv(262, 51%, 87%)
CMYKcmyk(32.3%, 51.1%, 0%, 12.5%)
CIE-LABlab(54.91, 40.53, -52.42)
CIE-LCHlch(54.91, 66.26, 307.71°)
OKLaboklab(62.81% 0.0801 -0.1479)
OKLCHoklch(62.81% 0.168 298.4)
XYZxyz(31.5472, 22.8440, 72.5450)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DDF #B5DF6D
analogous
#6D7CDF #976DDF #D06DDF
triadic
#976DDF #DF976D #6DDF97
tetradic
#976DDF #DF6D7C #B5DF6D #6DDFD0
square
#976DDF #DF6D7C #B5DF6D #6DDFD0
split-complementary
#976DDF #DFD06D #7CDF6D
monochromatic
#5726AC #733BD4 #976DDF #BB9FEA #DFD1F5

Accessibility & contrast

On white

3.77
#976DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#976DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DDF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DDF#FFFFFF#000000##000000
##976DDF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4384E3
Deuteranopia (green-blind)
#4E82DC
Tritanopia (blue-blind)
#88839C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976ddf;
/* rgb */ color: rgb(151, 109, 223);
/* oklch */ color: oklch(62.8% 0.168 298.4);
Tailwind
colors: {
  custom: {
    50: '#b998e9',
    500: '#976ddf',
    950: '#000000',
  },
}
SCSS
$custom: #976ddf;
$custom-light: #b998e9;
$custom-dark: #000000;
JSON
{
  "hex": "#976ddf",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 223
  },
  "hsl": {
    "h": 262.105,
    "s": 64.045,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62807,
    "c": 0.16823,
    "h": 298.4
  },
  "luminance": 0.22844
}

Semantic roles & 50–950 ramp

primary
#976DDF
secondary
#D9E7C1
accent
#CC1A8A
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #976DDF

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

Preview Lab → · Contrast checker → · Palette generator →

#976DDF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva