#977FF3#977FF3

#977FF3 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.0% C 0.167 H 290.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#977FF3
RGBrgb(151, 127, 243)
HSLhsl(252, 83%, 73%)
HSVhsv(252, 48%, 95%)
CMYKcmyk(37.9%, 47.7%, 0%, 4.7%)
CIE-LABlab(60.09, 35.52, -55.31)
CIE-LCHlch(60.09, 65.74, 302.71°)
OKLaboklab(67.03% 0.0591 -0.1564)
OKLCHoklch(67.03% 0.167 290.7)
XYZxyz(36.5252, 28.2281, 88.3008)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977FF3 #DBF37F
analogous
#7FA1F3 #977FF3 #D17FF3
triadic
#977FF3 #F3977F #7FF397
tetradic
#977FF3 #F37FA1 #DBF37F #7FF3D1
square
#977FF3 #F37FA1 #DBF37F #7FF3D1
split-complementary
#977FF3 #F3D17F #A1F37F
monochromatic
#4015E2 #6A47EE #977FF3 #C4B7F8 #E8E3FC

Accessibility & contrast

On white

3.16
#977FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#977FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977FF3
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977FF3#FFFFFF#000000##000000
##977FF31.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5393F7
Deuteranopia (green-blind)
#568EF0
Tritanopia (blue-blind)
#7F96AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #977ff3;
/* rgb */ color: rgb(151, 127, 243);
/* oklch */ color: oklch(67.0% 0.167 290.7);
Tailwind
colors: {
  custom: {
    50: '#baa4f7',
    500: '#977ff3',
    950: '#000000',
  },
}
SCSS
$custom: #977ff3;
$custom-light: #baa4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#977ff3",
  "rgb": {
    "r": 151,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 252.414,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67034,
    "c": 0.16717,
    "h": 290.7
  },
  "luminance": 0.28229
}

Semantic roles & 50–950 ramp

primary
#977FF3
secondary
#EEF4D7
accent
#DF06B2
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #977FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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