#977BC2#977BC2

#977BC2 is a light, moderate violet. Relative luminance 0.246; OKLCH L 63.7% C 0.108 H 301.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#977BC2
RGBrgb(151, 123, 194)
HSLhsl(264, 37%, 62%)
HSVhsv(264, 37%, 76%)
CMYKcmyk(22.2%, 36.6%, 0%, 23.9%)
CIE-LABlab(56.72, 25.38, -33.15)
CIE-LCHlch(56.72, 41.75, 307.44°)
OKLaboklab(63.7% 0.0565 -0.0919)
OKLCHoklch(63.7% 0.108 301.6)
XYZxyz(29.5810, 24.6402, 54.2261)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977BC2 #A6C27B
analogous
#7B83C2 #977BC2 #BB7BC2
triadic
#977BC2 #C2977B #7BC297
tetradic
#977BC2 #C27B83 #A6C27B #7BC2BB
square
#977BC2 #C27B83 #A6C27B #7BC2BB
split-complementary
#977BC2 #C2BB7B #83C27B
monochromatic
#5A3E85 #7651AF #977BC2 #B8A5D5 #D9CFE9

Accessibility & contrast

On white

3.54
#977BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#977BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977BC2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977BC2#FFFFFF#000000##000000
##977BC21.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A88C5
Deuteranopia (green-blind)
#7088C0
Tritanopia (blue-blind)
#908695
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #977bc2;
/* rgb */ color: rgb(151, 123, 194);
/* oklch */ color: oklch(63.7% 0.108 301.6);
Tailwind
colors: {
  custom: {
    50: '#b7a1d4',
    500: '#977bc2',
    950: '#000000',
  },
}
SCSS
$custom: #977bc2;
$custom-light: #b7a1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#977bc2",
  "rgb": {
    "r": 151,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 263.662,
    "s": 36.788,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63698,
    "c": 0.10788,
    "h": 301.6
  },
  "luminance": 0.2464
}

Semantic roles & 50–950 ramp

primary
#977BC2
secondary
#CFD9BF
accent
#B03680
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110F14
muted
#807E83

Preview Lab

Preview with #977BC2

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

Preview Lab → · Contrast checker → · Palette generator →

#977BC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva