#976FB8#976FB8

#976FB8 is a mid, moderate violet. Relative luminance 0.214; OKLCH L 61.0% C 0.115 H 308.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#976FB8
RGBrgb(151, 111, 184)
HSLhsl(273, 34%, 58%)
HSVhsv(273, 40%, 72%)
CMYKcmyk(17.9%, 39.7%, 0%, 27.8%)
CIE-LABlab(53.39, 29.96, -32.61)
CIE-LCHlch(53.39, 44.29, 312.57°)
OKLaboklab(61.03% 0.0719 -0.0903)
OKLCHoklch(61.03% 0.115 308.5)
XYZxyz(27.0970, 21.4092, 48.0430)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FB8 #90B86F
analogous
#736FB8 #976FB8 #B86FB4
triadic
#976FB8 #B8976F #6FB897
tetradic
#976FB8 #B8736F #90B86F #6FB4B8
square
#976FB8 #B8736F #90B86F #6FB4B8
split-complementary
#976FB8 #B4B86F #6FB873
monochromatic
#593974 #794D9D #976FB8 #B598CC #D2C1E0

Accessibility & contrast

On white

3.98
#976FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#976FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FB8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FB8#FFFFFF#000000##000000
##976FB81.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#607EBB
Deuteranopia (green-blind)
#6980B6
Tritanopia (blue-blind)
#937A8B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976fb8;
/* rgb */ color: rgb(151, 111, 184);
/* oklch */ color: oklch(61.0% 0.115 308.5);
Tailwind
colors: {
  custom: {
    50: '#b799cd',
    500: '#976fb8',
    950: '#000000',
  },
}
SCSS
$custom: #976fb8;
$custom-light: #b799cd;
$custom-dark: #000000;
JSON
{
  "hex": "#976fb8",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 184
  },
  "hsl": {
    "h": 272.877,
    "s": 33.953,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61027,
    "c": 0.11546,
    "h": 308.5
  },
  "luminance": 0.21409
}

Semantic roles & 50–950 ramp

primary
#976FB8
secondary
#C0D0B3
accent
#CA5E8F
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E13
muted
#807E82

Preview Lab

Preview with #976FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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