#B877F8#B877F8

#B877F8 is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.190 H 305.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B877F8
RGBrgb(184, 119, 248)
HSLhsl(270, 90%, 72%)
HSVhsv(270, 52%, 97%)
CMYKcmyk(25.8%, 52%, 0%, 2.7%)
CIE-LABlab(61.79, 49.42, -55.18)
CIE-LCHlch(61.79, 74.07, 311.85°)
OKLaboklab(69.13% 0.1096 -0.1551)
OKLCHoklch(69.13% 0.19 305.2)
XYZxyz(43.3037, 30.1616, 92.3292)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877F8 #B7F877
analogous
#7877F8 #B877F8 #F877F7
triadic
#B877F8 #F8B877 #77F8B8
tetradic
#B877F8 #F87877 #B7F877 #77F7F8
square
#B877F8 #F87877 #B7F877 #77F7F8
split-complementary
#B877F8 #F7F877 #77F878
monochromatic
#7B0CE9 #9A3DF5 #B877F8 #D6B1FB #F0E2FE

Accessibility & contrast

On white

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

On black

7.03
#B877F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B877F8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877F8#FFFFFF#000000##000000
##B877F81.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FC
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#AD8FAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b877f8;
/* rgb */ color: rgb(184, 119, 248);
/* oklch */ color: oklch(69.1% 0.190 305.2);
Tailwind
colors: {
  custom: {
    50: '#d0a0fb',
    500: '#b877f8',
    950: '#000000',
  },
}
SCSS
$custom: #b877f8;
$custom-light: #d0a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b877f8",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 270.233,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69127,
    "c": 0.18992,
    "h": 305.2
  },
  "luminance": 0.30161
}

Semantic roles & 50–950 ramp

primary
#B877F8
secondary
#E5F6D5
accent
#E60072
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B877F8

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

Preview Lab → · Contrast checker → · Palette generator →

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