#977BFA#977BFA

#977BFA is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.8% C 0.182 H 290.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#977BFA
RGBrgb(151, 123, 250)
HSLhsl(253, 93%, 73%)
HSVhsv(253, 51%, 98%)
CMYKcmyk(39.6%, 50.8%, 0%, 2%)
CIE-LABlab(59.57, 39.67, -60.02)
CIE-LCHlch(59.57, 71.95, 303.47°)
OKLaboklab(66.77% 0.0646 -0.1702)
OKLCHoklch(66.77% 0.182 290.8)
XYZxyz(37.0961, 27.6463, 93.8057)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977BFA #DEFA7B
analogous
#7B9EFA #977BFA #D67BFA
triadic
#977BFA #FA977B #7BFA97
tetradic
#977BFA #FA7B9E #DEFA7B #7BFAD6
square
#977BFA #FA7B9E #DEFA7B #7BFAD6
split-complementary
#977BFA #FAD67B #9EFA7B
monochromatic
#3C09F1 #6940F8 #977BFA #C5B6FC #E8E2FE

Accessibility & contrast

On white

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

On black

6.53
#977BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977BFA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977BFA#FFFFFF#000000##000000
##977BFA1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FE
Deuteranopia (green-blind)
#498DF7
Tritanopia (blue-blind)
#7C95AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #977bfa;
/* rgb */ color: rgb(151, 123, 250);
/* oklch */ color: oklch(66.8% 0.182 290.8);
Tailwind
colors: {
  custom: {
    50: '#baa2fd',
    500: '#977bfa',
    950: '#000000',
  },
}
SCSS
$custom: #977bfa;
$custom-light: #baa2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#977bfa",
  "rgb": {
    "r": 151,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 253.228,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66766,
    "c": 0.18203,
    "h": 290.8
  },
  "luminance": 0.27647
}

Semantic roles & 50–950 ramp

primary
#977BFA
secondary
#EFF6D5
accent
#E600B3
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #977BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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