#B878EA#B878EA

#B878EA is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.5% C 0.172 H 308.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#B878EA
RGBrgb(184, 120, 234)
HSLhsl(274, 73%, 69%)
HSVhsv(274, 49%, 92%)
CMYKcmyk(21.4%, 48.7%, 0%, 8.2%)
CIE-LABlab(61.28, 45.72, -48.25)
CIE-LCHlch(61.28, 66.47, 313.46°)
OKLaboklab(68.51% 0.107 -0.1349)
OKLCHoklch(68.51% 0.172 308.4)
XYZxyz(41.3320, 29.5643, 81.3551)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B878EA #AAEA78
analogous
#7F78EA #B878EA #EA78E3
triadic
#B878EA #EAB878 #78EAB8
tetradic
#B878EA #EA7F78 #AAEA78 #78E3EA
square
#B878EA #EA7F78 #AAEA78 #78E3EA
split-complementary
#B878EA #E3EA78 #78EA7F
monochromatic
#7E1FC8 #9C43E2 #B878EA #D4ADF2 #F0E2FA

Accessibility & contrast

On white

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

On black

6.91
#B878EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B878EA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B878EA#FFFFFF#000000##000000
##B878EA1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#6C95E7
Tritanopia (blue-blind)
#B18BA6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b878ea;
/* rgb */ color: rgb(184, 120, 234);
/* oklch */ color: oklch(68.5% 0.172 308.4);
Tailwind
colors: {
  custom: {
    50: '#d0a0f1',
    500: '#b878ea',
    950: '#000000',
  },
}
SCSS
$custom: #b878ea;
$custom-light: #d0a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b878ea",
  "rgb": {
    "r": 184,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 273.684,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68509,
    "c": 0.17221,
    "h": 308.4
  },
  "luminance": 0.29564
}

Semantic roles & 50–950 ramp

primary
#B878EA
secondary
#DDEFCE
accent
#D51067
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B878EA

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

Preview Lab → · Contrast checker → · Palette generator →

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