#976FE2#976FE2

#976FE2 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.3% C 0.169 H 297.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#976FE2
RGBrgb(151, 111, 226)
HSLhsl(261, 66%, 66%)
HSVhsv(261, 51%, 89%)
CMYKcmyk(33.2%, 50.9%, 0%, 11.4%)
CIE-LABlab(55.52, 40.17, -53.13)
CIE-LCHlch(55.52, 66.61, 307.09°)
OKLaboklab(63.31% 0.0778 -0.15)
OKLCHoklch(63.31% 0.169 297.4)
XYZxyz(32.1710, 23.4388, 74.7660)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FE2 #BAE26F
analogous
#6F80E2 #976FE2 #D16FE2
triadic
#976FE2 #E2976F #6FE297
tetradic
#976FE2 #E26F80 #BAE26F #6FE2D1
square
#976FE2 #E26F80 #BAE26F #6FE2D1
split-complementary
#976FE2 #E2D16F #80E26F
monochromatic
#5624B3 #723CD8 #976FE2 #BCA2EC #E1D5F7

Accessibility & contrast

On white

3.69
#976FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#976FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FE2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FE2#FFFFFF#000000##000000
##976FE21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E6
Deuteranopia (green-blind)
#4E84DF
Tritanopia (blue-blind)
#87859E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976fe2;
/* rgb */ color: rgb(151, 111, 226);
/* oklch */ color: oklch(63.3% 0.169 297.4);
Tailwind
colors: {
  custom: {
    50: '#b999ec',
    500: '#976fe2',
    950: '#000000',
  },
}
SCSS
$custom: #976fe2;
$custom-light: #b999ec;
$custom-dark: #000000;
JSON
{
  "hex": "#976fe2",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 260.87,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63314,
    "c": 0.16898,
    "h": 297.4
  },
  "luminance": 0.23439
}

Semantic roles & 50–950 ramp

primary
#976FE2
secondary
#DCE9C4
accent
#CE178F
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #976FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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