#976FDB#976FDB

#976FDB is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.9% C 0.160 H 298.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#976FDB
RGBrgb(151, 111, 219)
HSLhsl(262, 60%, 65%)
HSVhsv(262, 49%, 86%)
CMYKcmyk(31.1%, 49.3%, 0%, 14.1%)
CIE-LABlab(55.14, 38.40, -49.81)
CIE-LCHlch(55.14, 62.89, 307.63°)
OKLaboklab(62.9% 0.0772 -0.1403)
OKLCHoklch(62.9% 0.16 298.8)
XYZxyz(31.2301, 23.0624, 69.8103)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FDB #B3DB6F
analogous
#6F7DDB #976FDB #CD6FDB
triadic
#976FDB #DB976F #6FDB97
tetradic
#976FDB #DB6F7D #B3DB6F #6FDBCD
square
#976FDB #DB6F7D #B3DB6F #6FDBCD
split-complementary
#976FDB #DBCD6F #7DDB6F
monochromatic
#582AA6 #743ECF #976FDB #BAA0E7 #DED1F3

Accessibility & contrast

On white

3.74
#976FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#976FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FDB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FDB#FFFFFF#000000##000000
##976FDB1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84DF
Deuteranopia (green-blind)
#5483D8
Tritanopia (blue-blind)
#89839B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #976fdb;
/* rgb */ color: rgb(151, 111, 219);
/* oklch */ color: oklch(62.9% 0.160 298.8);
Tailwind
colors: {
  custom: {
    50: '#b899e7',
    500: '#976fdb',
    950: '#000000',
  },
}
SCSS
$custom: #976fdb;
$custom-light: #b899e7;
$custom-dark: #000000;
JSON
{
  "hex": "#976fdb",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 262.222,
    "s": 60,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62903,
    "c": 0.16012,
    "h": 298.8
  },
  "luminance": 0.23063
}

Semantic roles & 50–950 ramp

primary
#976FDB
secondary
#D8E5C0
accent
#C81E89
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #976FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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