#B879F5#B879F5

#B879F5 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.3% C 0.183 H 305.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#B879F5
RGBrgb(184, 121, 245)
HSLhsl(270, 86%, 72%)
HSVhsv(270, 51%, 96%)
CMYKcmyk(24.9%, 50.6%, 0%, 3.9%)
CIE-LABlab(62.05, 47.67, -53.12)
CIE-LCHlch(62.05, 71.37, 311.91°)
OKLaboklab(69.26% 0.1068 -0.1491)
OKLCHoklch(69.26% 0.183 305.6)
XYZxyz(43.0825, 30.4580, 89.9778)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B879F5 #B6F579
analogous
#7A79F5 #B879F5 #F579F4
triadic
#B879F5 #F5B879 #79F5B8
tetradic
#B879F5 #F57A79 #B6F579 #79F4F5
square
#B879F5 #F57A79 #B6F579 #79F4F5
split-complementary
#B879F5 #F4F579 #79F57A
monochromatic
#7B11E3 #9A40F1 #B879F5 #D6B2F9 #F0E3FD

Accessibility & contrast

On white

2.96
#B879F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#B879F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B879F5
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B879F5#FFFFFF#000000##000000
##B879F51.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5394F9
Deuteranopia (green-blind)
#6696F2
Tritanopia (blue-blind)
#AE8FAC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b879f5;
/* rgb */ color: rgb(184, 121, 245);
/* oklch */ color: oklch(69.3% 0.183 305.6);
Tailwind
colors: {
  custom: {
    50: '#d0a1f9',
    500: '#b879f5',
    950: '#000000',
  },
}
SCSS
$custom: #b879f5;
$custom-light: #d0a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b879f5",
  "rgb": {
    "r": 184,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 270.484,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69264,
    "c": 0.18339,
    "h": 305.6
  },
  "luminance": 0.30458
}

Semantic roles & 50–950 ramp

primary
#B879F5
secondary
#E5F5D5
accent
#E30371
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B879F5

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

Preview Lab → · Contrast checker → · Palette generator →

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