#B879EA#B879EA

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

Color values

HEX#B879EA
RGBrgb(184, 121, 234)
HSLhsl(273, 73%, 70%)
HSVhsv(273, 48%, 92%)
CMYKcmyk(21.4%, 48.3%, 0%, 8.2%)
CIE-LABlab(61.49, 45.18, -47.92)
CIE-LCHlch(61.49, 65.86, 313.32°)
OKLaboklab(68.66% 0.1057 -0.134)
OKLCHoklch(68.66% 0.171 308.3)
XYZxyz(41.4529, 29.8061, 81.3954)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B879EA #ABEA79
analogous
#8079EA #B879EA #EA79E4
triadic
#B879EA #EAB879 #79EAB8
tetradic
#B879EA #EA8079 #ABEA79 #79E4EA
square
#B879EA #EA8079 #ABEA79 #79E4EA
split-complementary
#B879EA #E4EA79 #79EA80
monochromatic
#7E20C9 #9C44E2 #B879EA #D4AEF2 #F0E3FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B879EA#FFFFFF#000000##000000
##B879EA1.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)
#5B92EE
Deuteranopia (green-blind)
#6D95E7
Tritanopia (blue-blind)
#B18CA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b879ea;
/* rgb */ color: rgb(184, 121, 234);
/* oklch */ color: oklch(68.7% 0.171 308.3);
Tailwind
colors: {
  custom: {
    50: '#cfa1f1',
    500: '#b879ea',
    950: '#000000',
  },
}
SCSS
$custom: #b879ea;
$custom-light: #cfa1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b879ea",
  "rgb": {
    "r": 184,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 273.451,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68665,
    "c": 0.17062,
    "h": 308.3
  },
  "luminance": 0.29806
}

Semantic roles & 50–950 ramp

primary
#B879EA
secondary
#DEF0CF
accent
#D51167
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B879EA

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

Preview Lab → · Contrast checker → · Palette generator →

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