#B877ED#B877ED

#B877ED is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.5% C 0.177 H 307.8°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B877ED
RGBrgb(184, 119, 237)
HSLhsl(273, 77%, 70%)
HSVhsv(273, 50%, 93%)
CMYKcmyk(22.4%, 49.8%, 0%, 7.1%)
CIE-LABlab(61.22, 46.93, -50.00)
CIE-LCHlch(61.22, 68.57, 313.18°)
OKLaboklab(68.52% 0.1087 -0.14)
OKLCHoklch(68.52% 0.177 307.8)
XYZxyz(41.6470, 29.4989, 83.6042)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877ED #ACED77
analogous
#7D77ED #B877ED #ED77E7
triadic
#B877ED #EDB877 #77EDB8
tetradic
#B877ED #ED7D77 #ACED77 #77E7ED
square
#B877ED #ED7D77 #ACED77 #77E7ED
split-complementary
#B877ED #E7ED77 #77ED7D
monochromatic
#7E1BCE #9C41E6 #B877ED #D4ADF4 #F0E3FB

Accessibility & contrast

On white

3.04
#B877ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B877ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877ED
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877ED#FFFFFF#000000##000000
##B877ED1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#6995EA
Tritanopia (blue-blind)
#B08BA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b877ed;
/* rgb */ color: rgb(184, 119, 237);
/* oklch */ color: oklch(68.5% 0.177 307.8);
Tailwind
colors: {
  custom: {
    50: '#d0a0f3',
    500: '#b877ed',
    950: '#000000',
  },
}
SCSS
$custom: #b877ed;
$custom-light: #d0a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b877ed",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 273.051,
    "s": 76.623,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68516,
    "c": 0.17725,
    "h": 307.8
  },
  "luminance": 0.29498
}

Semantic roles & 50–950 ramp

primary
#B877ED
secondary
#DEF1CF
accent
#D90D68
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #B877ED

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

Preview Lab → · Contrast checker → · Palette generator →

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