#977CF5#977CF5

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

Color values

HEX#977CF5
RGBrgb(151, 124, 245)
HSLhsl(253, 86%, 72%)
HSVhsv(253, 49%, 96%)
CMYKcmyk(38.4%, 49.4%, 0%, 3.9%)
CIE-LABlab(59.51, 37.77, -57.34)
CIE-LCHlch(59.51, 68.66, 303.37°)
OKLaboklab(66.63% 0.063 -0.1623)
OKLCHoklch(66.63% 0.174 291.2)
XYZxyz(36.4471, 27.5862, 89.7729)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977CF5 #DAF57C
analogous
#7C9EF5 #977CF5 #D37CF5
triadic
#977CF5 #F5977C #7CF597
tetradic
#977CF5 #F57C9E #DAF57C #7CF5D3
square
#977CF5 #F57C9E #DAF57C #7CF5D3
split-complementary
#977CF5 #F5D37C #9EF57C
monochromatic
#4111E5 #6A43F1 #977CF5 #C4B5F9 #E8E3FD

Accessibility & contrast

On white

3.22
#977CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#977CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977CF5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977CF5#FFFFFF#000000##000000
##977CF51.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#4F8DF2
Tritanopia (blue-blind)
#7E94AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #977cf5;
/* rgb */ color: rgb(151, 124, 245);
/* oklch */ color: oklch(66.6% 0.174 291.2);
Tailwind
colors: {
  custom: {
    50: '#baa2f9',
    500: '#977cf5',
    950: '#000000',
  },
}
SCSS
$custom: #977cf5;
$custom-light: #baa2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#977cf5",
  "rgb": {
    "r": 151,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 253.388,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66634,
    "c": 0.17413,
    "h": 291.2
  },
  "luminance": 0.27587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #977CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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