#B977FD#B977FD

#B977FD is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.5% C 0.196 H 304.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#B977FD
RGBrgb(185, 119, 253)
HSLhsl(270, 97%, 73%)
HSVhsv(270, 53%, 99%)
CMYKcmyk(26.9%, 53%, 0%, 0.8%)
CIE-LABlab(62.17, 50.82, -57.32)
CIE-LCHlch(62.17, 76.61, 311.56°)
OKLaboklab(69.52% 0.1111 -0.1614)
OKLCHoklch(69.52% 0.196 304.5)
XYZxyz(44.3302, 30.6000, 96.4805)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B977FD #BBFD77
analogous
#7778FD #B977FD #FC77FD
triadic
#B977FD #FDB977 #77FDB9
tetradic
#B977FD #FD7778 #BBFD77 #77FDFC
square
#B977FD #FD7778 #BBFD77 #77FDFC
split-complementary
#B977FD #FDFC77 #78FD77
monochromatic
#7B04F6 #9A3BFC #B977FD #D8B3FE #EFE1FF

Accessibility & contrast

On white

2.95
#B977FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#B977FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B977FD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B977FD#FFFFFF#000000##000000
##B977FD1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#AD90AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b977fd;
/* rgb */ color: rgb(185, 119, 253);
/* oklch */ color: oklch(69.5% 0.196 304.5);
Tailwind
colors: {
  custom: {
    50: '#d1a0ff',
    500: '#b977fd',
    950: '#000000',
  },
}
SCSS
$custom: #b977fd;
$custom-light: #d1a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b977fd",
  "rgb": {
    "r": 185,
    "g": 119,
    "b": 253
  },
  "hsl": {
    "h": 269.552,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69516,
    "c": 0.19592,
    "h": 304.5
  },
  "luminance": 0.306
}

Semantic roles & 50–950 ramp

primary
#B977FD
secondary
#E6F7D4
accent
#E60074
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B977FD

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

Preview Lab → · Contrast checker → · Palette generator →

#B977FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva