#976BF2#976BF2

#976BF2 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.7% C 0.195 H 295.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#976BF2
RGBrgb(151, 107, 242)
HSLhsl(260, 84%, 68%)
HSVhsv(260, 56%, 95%)
CMYKcmyk(37.6%, 55.8%, 0%, 5.1%)
CIE-LABlab(55.59, 46.51, -61.97)
CIE-LCHlch(55.59, 77.48, 306.89°)
OKLaboklab(63.67% 0.0834 -0.1759)
OKLCHoklch(63.67% 0.195 295.4)
XYZxyz(34.0431, 23.5048, 86.7305)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BF2 #C6F26B
analogous
#6B82F2 #976BF2 #DB6BF2
triadic
#976BF2 #F2976B #6BF297
tetradic
#976BF2 #F26B82 #C6F26B #6BF2DB
square
#976BF2 #F26B82 #C6F26B #6BF2DB
split-complementary
#976BF2 #F2DB6B #82F26B
monochromatic
#5012D0 #6F33ED #976BF2 #BFA3F7 #E6DCFC

Accessibility & contrast

On white

3.68
#976BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#976BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BF2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BF2#FFFFFF#000000##000000
##976BF21.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F6
Deuteranopia (green-blind)
#3783EF
Tritanopia (blue-blind)
#8187A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #976bf2;
/* rgb */ color: rgb(151, 107, 242);
/* oklch */ color: oklch(63.7% 0.195 295.4);
Tailwind
colors: {
  custom: {
    50: '#ba97f7',
    500: '#976bf2',
    950: '#000000',
  },
}
SCSS
$custom: #976bf2;
$custom-light: #ba97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#976bf2",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 259.556,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63665,
    "c": 0.19469,
    "h": 295.4
  },
  "luminance": 0.23506
}

Semantic roles & 50–950 ramp

primary
#976BF2
secondary
#E3F1C8
accent
#E00599
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #976BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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