#B878EE#B878EE

#B878EE is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.7% C 0.177 H 307.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B878EE
RGBrgb(184, 120, 238)
HSLhsl(273, 78%, 70%)
HSVhsv(273, 50%, 93%)
CMYKcmyk(22.7%, 49.6%, 0%, 6.7%)
CIE-LABlab(61.48, 46.62, -50.15)
CIE-LCHlch(61.48, 68.47, 312.91°)
OKLaboklab(68.73% 0.1075 -0.1404)
OKLCHoklch(68.73% 0.177 307.4)
XYZxyz(41.9132, 29.7968, 84.4157)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B878EE #AEEE78
analogous
#7D78EE #B878EE #EE78E9
triadic
#B878EE #EEB878 #78EEB8
tetradic
#B878EE #EE7D78 #AEEE78 #78E9EE
square
#B878EE #EE7D78 #AEEE78 #78E9EE
split-complementary
#B878EE #E9EE78 #78EE7D
monochromatic
#7E1AD1 #9B42E7 #B878EE #D5AEF5 #F1E4FC

Accessibility & contrast

On white

3.02
#B878EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B878EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B878EE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B878EE#FFFFFF#000000##000000
##B878EE1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#6A95EB
Tritanopia (blue-blind)
#B08CA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b878ee;
/* rgb */ color: rgb(184, 120, 238);
/* oklch */ color: oklch(68.7% 0.177 307.4);
Tailwind
colors: {
  custom: {
    50: '#d0a1f4',
    500: '#b878ee',
    950: '#000000',
  },
}
SCSS
$custom: #b878ee;
$custom-light: #d0a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b878ee",
  "rgb": {
    "r": 184,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 272.542,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68725,
    "c": 0.17683,
    "h": 307.4
  },
  "luminance": 0.29796
}

Semantic roles & 50–950 ramp

primary
#B878EE
secondary
#E0F1D1
accent
#DA0C6A
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B878EE

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

Preview Lab → · Contrast checker → · Palette generator →

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