#976BD2#976BD2

#976BD2 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.7% C 0.155 H 301.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#976BD2
RGBrgb(151, 107, 210)
HSLhsl(266, 53%, 62%)
HSVhsv(266, 49%, 82%)
CMYKcmyk(28.1%, 49%, 0%, 17.6%)
CIE-LABlab(53.76, 38.42, -46.91)
CIE-LCHlch(53.76, 60.63, 309.32°)
OKLaboklab(61.72% 0.0816 -0.1318)
OKLCHoklch(61.72% 0.155 301.8)
XYZxyz(29.6504, 21.7478, 63.5959)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BD2 #A6D26B
analogous
#6B73D2 #976BD2 #CB6BD2
triadic
#976BD2 #D2976B #6BD297
tetradic
#976BD2 #D26B73 #A6D26B #6BD2CB
square
#976BD2 #D26B73 #A6D26B #6BD2CB
split-complementary
#976BD2 #D2CB6B #73D26B
monochromatic
#5A2D95 #763CC4 #976BD2 #B89AE0 #D9C9EF

Accessibility & contrast

On white

3.93
#976BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#976BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BD2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BD2#FFFFFF#000000##000000
##976BD21.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B80D6
Deuteranopia (green-blind)
#5680CF
Tritanopia (blue-blind)
#8C7E95
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976bd2;
/* rgb */ color: rgb(151, 107, 210);
/* oklch */ color: oklch(61.7% 0.155 301.8);
Tailwind
colors: {
  custom: {
    50: '#b896e0',
    500: '#976bd2',
    950: '#000000',
  },
}
SCSS
$custom: #976bd2;
$custom-light: #b896e0;
$custom-dark: #000000;
JSON
{
  "hex": "#976bd2",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 265.631,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61719,
    "c": 0.15502,
    "h": 301.8
  },
  "luminance": 0.21748
}

Semantic roles & 50–950 ramp

primary
#976BD2
secondary
#CFDFB9
accent
#C1257E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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