#976FF2#976FF2

#976FF2 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.3% C 0.189 H 294.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#976FF2
RGBrgb(151, 111, 242)
HSLhsl(258, 83%, 69%)
HSVhsv(258, 54%, 95%)
CMYKcmyk(37.6%, 54.1%, 0%, 5.1%)
CIE-LABlab(56.44, 44.30, -60.59)
CIE-LCHlch(56.44, 75.06, 306.17°)
OKLaboklab(64.3% 0.0786 -0.1719)
OKLCHoklch(64.3% 0.189 294.6)
XYZxyz(34.4698, 24.3583, 86.8727)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FF2 #CAF26F
analogous
#6F89F2 #976FF2 #D96FF2
triadic
#976FF2 #F2976F #6FF297
tetradic
#976FF2 #F26F89 #CAF26F #6FF2D9
square
#976FF2 #F26F89 #CAF26F #6FF2D9
split-complementary
#976FF2 #F2D96F #89F26F
monochromatic
#4E13D4 #6E37ED #976FF2 #C0A7F7 #E8DFFC

Accessibility & contrast

On white

3.58
#976FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#976FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FF2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FF2#FFFFFF#000000##000000
##976FF21.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F6
Deuteranopia (green-blind)
#3E85EF
Tritanopia (blue-blind)
#808AA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #976ff2;
/* rgb */ color: rgb(151, 111, 242);
/* oklch */ color: oklch(64.3% 0.189 294.6);
Tailwind
colors: {
  custom: {
    50: '#ba99f7',
    500: '#976ff2',
    950: '#000000',
  },
}
SCSS
$custom: #976ff2;
$custom-light: #ba99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#976ff2",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 258.321,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64297,
    "c": 0.18902,
    "h": 294.6
  },
  "luminance": 0.24359
}

Semantic roles & 50–950 ramp

primary
#976FF2
secondary
#E6F1CB
accent
#E0069D
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #976FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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