#976FAF#976FAF

#976FAF is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.6% C 0.104 H 312.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#976FAF
RGBrgb(151, 111, 175)
HSLhsl(278, 29%, 56%)
HSVhsv(278, 37%, 69%)
CMYKcmyk(13.7%, 36.6%, 0%, 31.4%)
CIE-LABlab(53.00, 27.93, -28.04)
CIE-LCHlch(53.00, 39.58, 314.90°)
OKLaboklab(60.6% 0.0699 -0.0772)
OKLCHoklch(60.6% 0.104 312.1)
XYZxyz(26.1835, 21.0438, 43.2316)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FAF #87AF6F
analogous
#776FAF #976FAF #AF6FA7
triadic
#976FAF #AF976F #6FAF97
tetradic
#976FAF #AF776F #87AF6F #6FA7AF
square
#976FAF #AF776F #87AF6F #6FA7AF
split-complementary
#976FAF #A7AF6F #6FAF77
monochromatic
#583A69 #785091 #976FAF #B396C5 #D0BEDB

Accessibility & contrast

On white

4.03
#976FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#976FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FAF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FAF#FFFFFF#000000##000000
##976FAF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#647CB1
Deuteranopia (green-blind)
#6D7FAD
Tritanopia (blue-blind)
#957887
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976faf;
/* rgb */ color: rgb(151, 111, 175);
/* oklch */ color: oklch(60.6% 0.104 312.1);
Tailwind
colors: {
  custom: {
    50: '#b699c7',
    500: '#976faf',
    950: '#000000',
  },
}
SCSS
$custom: #976faf;
$custom-light: #b699c7;
$custom-dark: #000000;
JSON
{
  "hex": "#976faf",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 175
  },
  "hsl": {
    "h": 277.5,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60596,
    "c": 0.10414,
    "h": 312.1
  },
  "luminance": 0.21043
}

Semantic roles & 50–950 ramp

primary
#976FAF
secondary
#BACAB0
accent
#C56388
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #976FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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