#976DF2#976DF2

#976DF2 is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.0% C 0.192 H 295.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#976DF2
RGBrgb(151, 109, 242)
HSLhsl(259, 84%, 69%)
HSVhsv(259, 55%, 95%)
CMYKcmyk(37.6%, 55%, 0%, 5.1%)
CIE-LABlab(56.01, 45.41, -61.28)
CIE-LCHlch(56.01, 76.27, 306.54°)
OKLaboklab(63.98% 0.081 -0.1739)
OKLCHoklch(63.98% 0.192 295)
XYZxyz(34.2540, 23.9267, 86.8008)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DF2 #C8F26D
analogous
#6D86F2 #976DF2 #D96DF2
triadic
#976DF2 #F2976D #6DF297
tetradic
#976DF2 #F26D86 #C8F26D #6DF2D9
square
#976DF2 #F26D86 #C8F26D #6DF2D9
split-complementary
#976DF2 #F2D96D #86F26D
monochromatic
#4F13D2 #6F35ED #976DF2 #BFA5F7 #E7DDFC

Accessibility & contrast

On white

3.63
#976DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#976DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DF2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DF2#FFFFFF#000000##000000
##976DF21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D87F6
Deuteranopia (green-blind)
#3A84EF
Tritanopia (blue-blind)
#8189A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976df2;
/* rgb */ color: rgb(151, 109, 242);
/* oklch */ color: oklch(64.0% 0.192 295.0);
Tailwind
colors: {
  custom: {
    50: '#ba98f7',
    500: '#976df2',
    950: '#000000',
  },
}
SCSS
$custom: #976df2;
$custom-light: #ba98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#976df2",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 258.947,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63979,
    "c": 0.19187,
    "h": 295
  },
  "luminance": 0.23927
}

Semantic roles & 50–950 ramp

primary
#976DF2
secondary
#E5F1CA
accent
#E0059B
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #976DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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