#977FFE#977FFE

#977FFE is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.182 H 289.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#977FFE
RGBrgb(151, 127, 254)
HSLhsl(251, 98%, 75%)
HSVhsv(251, 50%, 100%)
CMYKcmyk(40.6%, 50%, 0%, 0.4%)
CIE-LABlab(60.70, 38.48, -60.40)
CIE-LCHlch(60.70, 71.62, 302.50°)
OKLaboklab(67.69% 0.0601 -0.1713)
OKLCHoklch(67.69% 0.182 289.3)
XYZxyz(38.2363, 28.9126, 97.3128)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977FFE #E6FE7F
analogous
#7FA6FE #977FFE #D77FFE
triadic
#977FFE #FE977F #7FFE97
tetradic
#977FFE #FE7FA6 #E6FE7F #7FFED7
square
#977FFE #FE7FA6 #E6FE7F #7FFED7
split-complementary
#977FFE #FED77F #A6FE7F
monochromatic
#3406FD #6642FE #977FFE #C8BCFE #E6E1FF

Accessibility & contrast

On white

3.10
#977FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#977FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977FFE
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977FFE#FFFFFF#000000##000000
##977FFE1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#4B8FFB
Tritanopia (blue-blind)
#7A99B3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #977ffe;
/* rgb */ color: rgb(151, 127, 254);
/* oklch */ color: oklch(67.7% 0.182 289.3);
Tailwind
colors: {
  custom: {
    50: '#baa4ff',
    500: '#977ffe',
    950: '#000000',
  },
}
SCSS
$custom: #977ffe;
$custom-light: #baa4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#977ffe",
  "rgb": {
    "r": 151,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 251.339,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.67688,
    "c": 0.18153,
    "h": 289.3
  },
  "luminance": 0.28914
}

Semantic roles & 50–950 ramp

primary
#977FFE
secondary
#F0F7D4
accent
#E600BA
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #977FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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