#977BF7#977BF7

#977BF7 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.6% C 0.178 H 291.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#977BF7
RGBrgb(151, 123, 247)
HSLhsl(254, 89%, 73%)
HSVhsv(254, 50%, 97%)
CMYKcmyk(38.9%, 50.2%, 0%, 3.1%)
CIE-LABlab(59.40, 38.87, -58.63)
CIE-LCHlch(59.40, 70.35, 303.54°)
OKLaboklab(66.58% 0.0644 -0.1661)
OKLCHoklch(66.58% 0.178 291.2)
XYZxyz(36.6294, 27.4596, 91.3480)
Luminance0.2746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977BF7 #DBF77B
analogous
#7B9DF7 #977BF7 #D57BF7
triadic
#977BF7 #F7977B #7BF797
tetradic
#977BF7 #F77B9D #DBF77B #7BF7D5
square
#977BF7 #F77B9D #DBF77B #7BF7D5
split-complementary
#977BF7 #F7D57B #9DF77B
monochromatic
#400EE9 #6A41F4 #977BF7 #C4B5FA #E8E2FD

Accessibility & contrast

On white

3.23
#977BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#977BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977BF7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977BF7#FFFFFF#000000##000000
##977BF71.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FB
Deuteranopia (green-blind)
#4C8CF4
Tritanopia (blue-blind)
#7E94AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #977bf7;
/* rgb */ color: rgb(151, 123, 247);
/* oklch */ color: oklch(66.6% 0.178 291.2);
Tailwind
colors: {
  custom: {
    50: '#baa2fa',
    500: '#977bf7',
    950: '#000000',
  },
}
SCSS
$custom: #977bf7;
$custom-light: #baa2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#977bf7",
  "rgb": {
    "r": 151,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 253.548,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66584,
    "c": 0.17816,
    "h": 291.2
  },
  "luminance": 0.27461
}

Semantic roles & 50–950 ramp

primary
#977BF7
secondary
#EEF5D6
accent
#E500B1
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #977BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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