#B877F7#B877F7

#B877F7 is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.1% C 0.189 H 305.5°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#B877F7
RGBrgb(184, 119, 247)
HSLhsl(270, 89%, 72%)
HSVhsv(270, 52%, 97%)
CMYKcmyk(25.5%, 51.8%, 0%, 3.1%)
CIE-LABlab(61.74, 49.19, -54.71)
CIE-LCHlch(61.74, 73.57, 311.96°)
OKLaboklab(69.07% 0.1095 -0.1537)
OKLCHoklch(69.07% 0.189 305.5)
XYZxyz(43.1489, 30.0997, 91.5143)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877F7 #B6F777
analogous
#7877F7 #B877F7 #F777F6
triadic
#B877F7 #F7B877 #77F7B8
tetradic
#B877F7 #F77877 #B6F777 #77F6F7
square
#B877F7 #F77877 #B6F777 #77F6F7
split-complementary
#B877F7 #F6F777 #77F778
monochromatic
#7B0EE6 #9A3DF4 #B877F7 #D6B1FA #F0E2FD

Accessibility & contrast

On white

2.99
#B877F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#B877F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B877F7
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877F7#FFFFFF#000000##000000
##B877F71.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#6295F4
Tritanopia (blue-blind)
#AE8EAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b877f7;
/* rgb */ color: rgb(184, 119, 247);
/* oklch */ color: oklch(69.1% 0.189 305.5);
Tailwind
colors: {
  custom: {
    50: '#d0a0fa',
    500: '#b877f7',
    950: '#000000',
  },
}
SCSS
$custom: #b877f7;
$custom-light: #d0a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b877f7",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 270.469,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69071,
    "c": 0.18877,
    "h": 305.5
  },
  "luminance": 0.30099
}

Semantic roles & 50–950 ramp

primary
#B877F7
secondary
#E5F5D5
accent
#E60071
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B877F7

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

Preview Lab → · Contrast checker → · Palette generator →

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