#B877FA#B877FA

#B877FA is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.2% C 0.192 H 304.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B877FA
RGBrgb(184, 119, 250)
HSLhsl(270, 93%, 72%)
HSVhsv(270, 52%, 98%)
CMYKcmyk(26.4%, 52.4%, 0%, 2%)
CIE-LABlab(61.90, 49.88, -56.11)
CIE-LCHlch(61.90, 75.08, 311.64°)
OKLaboklab(69.24% 0.1097 -0.1578)
OKLCHoklch(69.24% 0.192 304.8)
XYZxyz(43.6156, 30.2863, 93.9720)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877FA #B9FA77
analogous
#7778FA #B877FA #FA77FA
triadic
#B877FA #FAB877 #77FAB8
tetradic
#B877FA #FA7778 #B9FA77 #77FAFA
square
#B877FA #FA7778 #B9FA77 #77FAFA
split-complementary
#B877FA #FAFA77 #78FA77
monochromatic
#7A09EE #993CF8 #B877FA #D7B2FC #F0E1FE

Accessibility & contrast

On white

2.98
#B877FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B877FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B877FA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877FA#FFFFFF#000000##000000
##B877FA1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#6096F7
Tritanopia (blue-blind)
#AD8FAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b877fa;
/* rgb */ color: rgb(184, 119, 250);
/* oklch */ color: oklch(69.2% 0.192 304.8);
Tailwind
colors: {
  custom: {
    50: '#d0a0fc',
    500: '#b877fa',
    950: '#000000',
  },
}
SCSS
$custom: #b877fa;
$custom-light: #d0a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b877fa",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 269.771,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69241,
    "c": 0.19223,
    "h": 304.8
  },
  "luminance": 0.30286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B877FA

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

Preview Lab → · Contrast checker → · Palette generator →

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